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