Attachment 'patch-SlideShow-fix-heading-interpretation.diff'
Download 1 diff -r fb269e11da1f -r fd9387911e26 MoinMoin/action/SlideShow.py
2 --- a/MoinMoin/action/SlideShow.py Sun Sep 26 22:34:00 2010 +0200
3 +++ b/MoinMoin/action/SlideShow.py Mon Sep 27 19:43:20 2010 +0200
4 @@ -8,7 +8,8 @@
5 @copyright: 2005 Jim Clark,
6 2005 Nir Soffer,
7 2008 MoinMoin:ThomasWaldmann,
8 - 2009 MoinMoin:ReimarBauer
9 + 2009 MoinMoin:ReimarBauer,
10 + 2010 Paul Boddie
11 @license: GNU GPL, see COPYING for details.
12 """
13
14 @@ -38,7 +39,7 @@
15 """
16 _heading_pattern = re.compile(r"""
17 # TODO: check, mhz found bug here
18 - (?P<skip>{{{(?:.*\n)+?}}}) |
19 + (?P<skip>{{{(?:.*\n\s*)+?}}}) |
20 # Match headings level 1
21 (?P<heading>^=\s(?P<text>.*)\s=$\n?)
22 """, re.MULTILINE | re.UNICODE | re.VERBOSE)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.