There is a Creole parser plugin for the MoinMoin wiki engine.
It is based on the Creole0.1 draft.
There were several issues when writing it:
- The line breaks are a major pain. Currently I only add them inside paragraphs, and I included a special case that will not add a line break at the end of a paragraph if it is followed by an empty line. The line break is however added if the paragraph is followed by a list or a preformatted block, and I personally don't feel like adding more lookahead special cases.
- The expression for urls used is an approximation. In particular, commas,dots,exclamation marks and such are included in the url only when not followed by a space, so that you can write http://news.com/article/2006,09,06 as a link, but also see those two pages: http://one.org, http://two.org. Other special characters are included in the url, but escaped when appropriate.
- I'm a little bit generous when parsing mixed lists. This is valid:
# One - Two - Three # Four
and gets rendered as:
- One
- Two
- Three
- Four
How should be such and similar errors handled?
Add new attachment
Only authorized users are allowed to upload new attachments.