markdown: use hardbreaks to be consistent with previous behaviour of markdown generated content
This commit is contained in:
parent
8a427f4a24
commit
eb5d1c61e3
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ def get_markdown_renderer_flavored(extensions, output_format):
|
|||
|
||||
class GFM(object):
|
||||
def convert(self, source):
|
||||
with pycmarkgfm.parse_gfm(source) as document:
|
||||
with pycmarkgfm.parse_gfm(source, options=pycmarkgfm.options.hardbreaks) as document:
|
||||
parsed_md = document.to_commonmark()
|
||||
return md.convert(parsed_md)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue