diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index bf55e05a5..7f7cdfe82 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1278,7 +1278,7 @@ module ApplicationHelper \{\{ # opening tag ([\w]+) # macro name (\(([^\n\r]*?)\))? # optional arguments - ([\n\r].*?[\n\r])? # optional block of text + (\R.*?\R?)? # optional block of text \}\} # closing tag ) )/mx unless const_defined?(:MACROS_RE)