class PublifyApp::Textfilter::MacroPre

Public Class Methods

filtertext(text) click to toggle source
# File lib/text_filter_plugin.rb, line 175
def self.filtertext(text)
  macros = TextFilterPlugin.available_filter_types["macropre"]
  macros.reduce(text) do |new_text, macro|
    macro.filtertext(new_text)
  end
end