Sha256: 25913e4069b186cf9e5b0912d9348e0b429fce2d9c272f215d651a253a61289e

Contents?: true

Size: 262 Bytes

Versions: 9

Compression:

Stored size: 262 Bytes

Contents

class Plugins::Textfilters::HtmlfilterController < TextFilterPlugin
  plugin_display_name "HTML Filter"
  plugin_description 'Strip HTML tags'

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
typo-3.99.0 components/plugins/textfilters/htmlfilter_controller.rb
typo-3.99.1 components/plugins/textfilters/htmlfilter_controller.rb
typo-3.99.2 components/plugins/textfilters/htmlfilter_controller.rb
typo-3.99.3 components/plugins/textfilters/htmlfilter_controller.rb
typo-4.0.1 components/plugins/textfilters/htmlfilter_controller.rb
typo-4.0.2 components/plugins/textfilters/htmlfilter_controller.rb
typo-4.0.0 components/plugins/textfilters/htmlfilter_controller.rb
typo-3.99.4 components/plugins/textfilters/htmlfilter_controller.rb
typo-4.0.3 components/plugins/textfilters/htmlfilter_controller.rb