changeset 5714:1d6b03baf499

action.SlideShow: fix bug MoinMoinBugs/SinglePageSlideShowAndParserMarkup (thanks to Paul Boddie for the patch)
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 28 Sep 2010 22:14:44 +0200
parents 32811373ffa1
children da7fed3ec62f
files MoinMoin/action/SlideShow.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/SlideShow.py	Tue Sep 28 22:12:05 2010 +0200
+++ b/MoinMoin/action/SlideShow.py	Tue Sep 28 22:14:44 2010 +0200
@@ -39,7 +39,7 @@
     """
     _heading_pattern = re.compile(r"""
         # TODO: check, mhz found bug here
-        (?P<skip>{{{(?:.*\n)+?}}}) |
+        (?P<skip>{{{(?:.|\n)*?}}}) |
         # Match headings level 1
         (?P<heading>^=\s(?P<text>.*)\s=$\n?)
         """, re.MULTILINE | re.UNICODE | re.VERBOSE)