Project

General

Profile

Patch #5919 ยป wiki-macro-strip.diff

Yuya Nishihara, 2010-07-20 18:38

View differences:

lib/redmine/wiki_formatting.rb
85 85
      def execute_macros(text, macros_runner)
86 86
        text.gsub!(MACROS_RE) do
87 87
          esc, all, macro = $1, $2, $3.downcase
88
          args = ($5 || '').split(',').each(&:strip)
88
          args = ($5 || '').split(',').map(&:strip)
89 89
          if esc.nil?
90 90
            begin
91 91
              macros_runner.call(macro, args)
    (1-1/1)