Sha256: e7fbacc2a25760737e70761ee5e00e16a163729fb37fbff604ea8f1e83bf4978

Contents?: true

Size: 338 Bytes

Versions: 9

Compression:

Stored size: 338 Bytes

Contents

require 'rubypants'

class PublifyApp
  class Textfilter
    class Smartypants < TextFilterPlugin::PostProcess
      plugin_display_name 'Smartypants'
      plugin_description 'Converts HTML to use typographically correct quotes and dashes'

      def self.filtertext(text)
        RubyPants.new(text).to_html
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
publify_core-9.1.0 lib/publify_textfilter_smartypants.rb
publify_core-9.0.1 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0.pre6 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0.pre5 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0.pre4 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0.pre3 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0.pre2 lib/publify_textfilter_smartypants.rb
publify_core-9.0.0.pre1 lib/publify_textfilter_smartypants.rb