diff --git a/rhodecode/lib/markup_renderer.py b/rhodecode/lib/markup_renderer.py --- a/rhodecode/lib/markup_renderer.py +++ b/rhodecode/lib/markup_renderer.py @@ -198,7 +198,7 @@ def get_markdown_renderer_flavored(exten 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)