Description

MoinMoin throws and error when the parser finds a #! (hashbang) on a single line.

Steps to reproduce

  1. Create a new page (or just use the SandBox)

  2. Create a new code block containing #! on a single line.
  3. Preview or save the page and see the error.

Example

add #! into a codeblock on a line by itself.

e.g.

<hashbang>

where <hangbang> == #!

OR view: http://moinmo.in/MoinMoinBugs/PreFormatterBreaksOnHashBang-Sample

Component selection

Details

This Wiki.

Workaround

Discussion

My python is not great, so please feel free to clean up the mess.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/PreFormatterBreaksOnHashBangLine (last edited 2008-07-25 20:26:50 by ThomasWaldmann)