MarkdownSharp icon indicating copy to clipboard operation
MarkdownSharp copied to clipboard

Switching to 2.0.5 "/r/n" translated to "<br" resulting in invalid html

Open jakenuts opened this issue 6 years ago • 1 comments

jakenuts avatar May 05 '19 21:05 jakenuts

Scrambling to fix this in a production app so the exact string I'm passing isn't available, but it appears that when passing /r/n into MarkdownTransformer.Transform with AutoNewlines set to true generates an open BR tag.

jakenuts avatar May 05 '19 21:05 jakenuts