Attachment 'patch-SlideShow-fix-heading-interpretation-simpler.diff'

Download

   1 diff -r fb269e11da1f MoinMoin/action/SlideShow.py
   2 --- a/MoinMoin/action/SlideShow.py	Sun Sep 26 22:34:00 2010 +0200
   3 +++ b/MoinMoin/action/SlideShow.py	Tue Sep 28 21:20:08 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)*?}}}) |
  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.
  • [get | view] (2010-09-28 19:48:48, 26.4 KB) [[attachment:example.png]]
  • [get | view] (2010-09-28 19:20:28, 0.8 KB) [[attachment:patch-SlideShow-fix-heading-interpretation-simpler.diff]]
  • [get | view] (2010-09-27 17:49:20, 0.8 KB) [[attachment:patch-SlideShow-fix-heading-interpretation.diff]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.