Skip to content
Commit 4337d0d5 authored by James Graham's avatar James Graham Committed by Tobias Fella
Browse files

Removing all \n is incorrect as these are used to show linebreaks in the html...

Removing all \n 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 markdown string are converted to hard breaks <br/> in the html.

Also remove 2 step process to replace <!-- raw HTML omitted --> and straight replace with "" to ensure no real breaks are removed
parent a0753736
Pipeline #203306 passed with stage
in 5 minutes and 34 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment