2013-03-22 | Paul Boddie | raw files shortlog changelog graph | Added newlines within explicitly labelled sections. | |
wikiparser.py (file) |
1.1 --- a/wikiparser.py Fri Mar 22 01:34:41 2013 +0100 1.2 +++ b/wikiparser.py Fri Mar 22 01:36:17 2013 +0100 1.3 @@ -513,7 +513,7 @@ 1.4 if options: 1.5 parts.append("## %s\n" % options) 1.6 parts.append(translate_content(text.strip(), sectiontype)) 1.7 - parts.append("}}}\n") 1.8 + parts.append("%s}}}\n" % (mointype and "\n" or "")) 1.9 1.10 preceded_by_block = True 1.11