# HG changeset patch # User Reimar Bauer # Date 1203456579 -3600 # Node ID bf99a66453d3fd4e25c5fde9632916d1380db0f3 # Parent fafaa6590b803a8ad039586bdaa5c01b9c241845 make '#format creole' work (ported from 1.6) diff -r fafaa6590b80 -r bf99a66453d3 MoinMoin/wikiutil.py --- a/MoinMoin/wikiutil.py Tue Feb 19 22:19:09 2008 +0100 +++ b/MoinMoin/wikiutil.py Tue Feb 19 22:29:39 2008 +0100 @@ -992,7 +992,7 @@ format = format.lower() if format in ('plain', 'csv', 'rst', 'docbook', 'latex', 'tex', 'html', 'css', 'xml', 'python', 'perl', 'php', 'ruby', 'javascript', - 'cplusplus', 'java', 'pascal', 'diff', 'gettext', 'xslt', ): + 'cplusplus', 'java', 'pascal', 'diff', 'gettext', 'xslt', 'creole', ): mimetype = 'text', format else: mapping = {