comments to separate lines, to avoid making two comments making up italic markup

This commit is contained in:
Elan Ruusamäe 2012-09-18 01:13:49 +02:00
parent d283d60313
commit 2c0da4880c

View file

@ -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