From 2c0da4880c5268b8d2f28f087f0982eae3efdc2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elan=20Ruusam=C3=A4e?= Date: Tue, 18 Sep 2012 01:13:49 +0200 Subject: [PATCH] comments to separate lines, to avoid making two comments making up italic markup --- text_dokuwiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_dokuwiki.py b/text_dokuwiki.py index d74b0f1..ed58084 100644 --- a/text_dokuwiki.py +++ b/text_dokuwiki.py @@ -251,7 +251,7 @@ class Formatter(FormatterBase): def comment(self, text): # real comments (lines with two hash marks) if text[0:2] == '##': - return "/* %s */" % text[2:] + return "/* %s */\n" % text[2:] # Some kind of Processing Instruction # http://moinmo.in/HelpOnProcessingInstructions