Sha256: 58febbfc9be19a1e662c2ff011c3a01328f48b8fecf4135f65006da4f7ec4776

Contents?: true

Size: 433 Bytes

Versions: 9

Compression:

Stored size: 433 Bytes

Contents

class Plugins::Textfilters::MacroPreController < TextFilterPlugin
  plugin_display_name "MacroPre"
  plugin_description "Macro expansion meta-filter (pre-markup)"

  def self.filtertext(controller,content,text,params)
    filterparams = params[:filterparams]

    macros = TextFilter.available_filter_types['macropre']
    macros.inject(text) do |text,macro|
      macro.filtertext(controller,content,text,params)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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