33432.patch

Yuichi HARADA, 2020-05-21 04:58

Download (785 Bytes)

View differences:

app/helpers/application_helper.rb
1277 1277
                (
1278 1278
                \{\{                        # opening tag
1279 1279
                ([\w]+)                     # macro name
1280
                (\(([^\n\r]*?)\))?          # optional arguments
1281
                ([\n\r].*?[\n\r])?          # optional block of text
1280
                (\(([^\R]*?)\))?            # optional arguments
1281
                (\R.*?\R?)?                 # optional block of text
1282 1282
                \}\}                        # closing tag
1283 1283
                )
1284 1284
               )/mx unless const_defined?(:MACROS_RE)