comments to separate lines, to avoid making two comments making up italic markup
This commit is contained in:
parent
d283d60313
commit
2c0da4880c
1 changed files with 1 additions and 1 deletions
|
@ -251,7 +251,7 @@ class Formatter(FormatterBase):
|
||||||
def comment(self, text):
|
def comment(self, text):
|
||||||
# real comments (lines with two hash marks)
|
# real comments (lines with two hash marks)
|
||||||
if text[0:2] == '##':
|
if text[0:2] == '##':
|
||||||
return "/* %s */" % text[2:]
|
return "/* %s */\n" % text[2:]
|
||||||
|
|
||||||
# Some kind of Processing Instruction
|
# Some kind of Processing Instruction
|
||||||
# http://moinmo.in/HelpOnProcessingInstructions
|
# http://moinmo.in/HelpOnProcessingInstructions
|
||||||
|
|
Loading…
Reference in a new issue