diff options
Diffstat (limited to 'mako/ext/pygmentplugin.py')
-rw-r--r-- | mako/ext/pygmentplugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mako/ext/pygmentplugin.py b/mako/ext/pygmentplugin.py index 2824693..1734ccd 100644 --- a/mako/ext/pygmentplugin.py +++ b/mako/ext/pygmentplugin.py @@ -59,7 +59,7 @@ class MakoLexer(RegexLexer): ), (r"<%(?=([\w\.\:]+))", Comment.Preproc, "ondeftags"), ( - r"(<%(?:!?))(.*?)(%>)(?s)", + r"(?s)(<%(?:!?))(.*?)(%>)", bygroups(Comment.Preproc, using(PythonLexer), Comment.Preproc), ), ( |