Closed vdwees closed 7 months ago
I am unaware of any Markdown implementation that auto converts such Unicode into <br>
tags. If you'd like to use <br>
tags, you need to specify them, use two spaces at the end of the line, or use something like https://python-markdown.github.io/extensions/nl2br/ if you'd like to turn normal new lines into <br>
tags.
Does HTML treat the \u2028
Unicode character as a break tag? Markdown is a subset of HTML, so I would not expect Markdown to do this by default. However, you are welcome to create your own third-party extension which does whatever you want.
I'm not an expert in markdown or unicode, but I may have hit an unhandled edge case.
From https://www.unicode.org/versions/Unicode5.2.0/ch05.pdf#G10213:
Control+Enter on a MacOS keyboard creates the LS or
\u2028
character as rendered in python. I would expect the\u2028
unicode character to be converted to a<br>
tag:Current:
Expected: