Skip to content

Fix quote markdown to html

Removing all \n from the converted string is incorrect as these are used to show linebreaks in the html formatted body. Instead use the CMARK_OPT_HARDBREAKS options so these softbreaks in the original markdown string are converted to hard breaks
in the html.

Also remove 2 step process to replace and straight replace with "" to ensure no real breaks are removed.

BUG: 454932

Merge request reports

Loading