Description

Using an additional wiki parser section gives a strange rendering in Slideshow mode

Steps to reproduce

see /Example

Example

= Test SlideShow =

 * Some text...
 {{{#!wiki
= Header =

Some text.
 }}}

= Next Slide =

 * Some more text...

Component selection

regex used in SinglePageSlideshow

Details

this wiki

Workaround

Discussion

   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)
patch-SlideShow-fix-heading-interpretation.diff

It now occurs to me that the regex should just be much simpler, as attempted by this patch. -- PaulBoddie 2010-09-28 19:20:00

this solves it, the logo is added by the css

example.png

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/SinglePageSlideShowAndParserMarkup (last edited 2010-09-28 20:35:01 by ReimarBauer)