Sha256: 418a071b080f62e763c57edb44af8f705437742adc64ea9b83a8af4732dc3ff5

Contents?: true

Size: 292 Bytes

Versions: 21

Compression:

Stored size: 292 Bytes

Contents

class Typo
  class Textfilter
    class Htmlfilter < TextFilterPlugin
      plugin_display_name "HTML Filter"
      plugin_description 'Strip HTML tags'

      def self.filtertext(blog,content,text,params)
        text.to_s.gsub( "<", "&lt;" ).gsub( ">", "&gt;" )
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
typo-5.5 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.4.4 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.4.3 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.4.2 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.4.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.4 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-4.1.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.0.2 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.0.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-4.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.0.3.98.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.0 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.0.3.98 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.1.2 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.1.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.1.3 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.1.98 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.1 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.2.98 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb
typo-5.2 vendor/plugins/typo_textfilter_htmlfilter/lib/typo_textfilter_htmlfilter.rb