Fixed: New multi-line macros regexp is too eager (#11736).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10276 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -867,7 +867,7 @@ module ApplicationHelper
|
||||
\{\{ # opening tag
|
||||
([\w]+) # macro name
|
||||
(\(([^\n\r]*?)\))? # optional arguments
|
||||
([\n\r].*[\n\r])? # optional block of text
|
||||
([\n\r].*?[\n\r])? # optional block of text
|
||||
\}\} # closing tag
|
||||
)
|
||||
)/mx unless const_defined?(:MACROS_RE)
|
||||
|
||||
Reference in New Issue
Block a user