Sha256: 82b486b3f46ed1a213940b19c371b5a44dfb6a1f0aa6616f2f3905fbc2abd858

Contents?: true

Size: 389 Bytes

Versions: 8

Compression:

Stored size: 389 Bytes

Contents

module SmartyPantsTags
  include Radiant::Taggable

  desc %{
    Filters its contents with the SmartyPants filter.

    *Usage:*

    <pre><code><r:smarty_pants>"A revolutionary quotation."</r:smarty_pants></code></pre>

    produces

    <pre><code>&#8220;A revolutionary quotation.&#8221;</code></pre>
  }
  tag 'smarty_pants' do |tag|
    SmartyPantsFilter.filter(tag.expand)
  end
end

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-smarty_pants_filter-extension-1.0.2/lib/smarty_pants_tags.rb
radiant-smarty_pants_filter-extension-1.0.2 lib/smarty_pants_tags.rb
radiant-smarty_pants_filter-extension-1.0.1 lib/smarty_pants_tags.rb
radiant-smarty_pants_filter-extension-1.0.0 lib/smarty_pants_tags.rb
radiant-1.0.0.rc2 vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb
radiant-1.0.0.rc1 vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb
radiant-0.9.1 vendor/extensions/smarty_pants_filter/lib/smarty_pants_tags.rb