Sha256: 5dc8cdde3f6ba5707f226551fe8e31a04de700e911d25875654829b8b78ca3e9

Contents?: true

Size: 195 Bytes

Versions: 25

Compression:

Stored size: 195 Bytes

Contents

class SmartyPantsFilter < TextFilter
  filter_name "SmartyPants"
  description_file File.dirname(__FILE__) + "/../smartypants.html"   
  def filter(text)
    RubyPants.new(text).to_html
  end
end

Version data entries

25 entries across 25 versions & 4 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/radiant-smarty_pants_filter-extension-1.0.2/lib/smarty_pants_filter.rb
radiant-smarty_pants_filter-extension-1.0.2 lib/smarty_pants_filter.rb
radiant-smarty_pants_filter-extension-1.0.1 lib/smarty_pants_filter.rb
radiant-smarty_pants_filter-extension-1.0.0 lib/smarty_pants_filter.rb
radiant-1.0.0.rc2 vendor/extensions/smarty_pants_filter/lib/smarty_pants_filter.rb
radiant-1.0.0.rc1 vendor/extensions/smarty_pants_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.2.4 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.2.2 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.2.1 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.2 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.1.9 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.1.8 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.1.7 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.1.6 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.1.5 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiantcms-couchrest_model-0.1.4 vendor/extensions/smarty_pants_filter/lib/smarty_pants_filter.rb
radiant-0.7.2 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiant-0.9.1 vendor/extensions/smarty_pants_filter/lib/smarty_pants_filter.rb
radiant-0.8.2 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb
radiant-0.9.0.rc2 vendor/extensions/markdown_filter/lib/smarty_pants_filter.rb