Closed wingechr closed 3 years ago
I have provided a hotfix to escape the html that fixes this bug. (see linked PR)
Thereby I came across new bugs: Some markdown elements are not rendered as expected (elements like checkbox and code blocks).
Why does it behave like this: It seems that Markdown2 and the preview of the easymde Markdown Editor generate different results. Easymde does a better job rendering the markdown, but it does not generate html.
"- [ ]" as :
<ul>
<li>[ ] Y</li>
</ul>
"description:
code"
or
"code
" as:
<pre><code>
code
</code></pre>
I will have a look at how to set anchors in markdown or insert anchors as HTML. Are there any other HTML tags needed? @wingechr
no, but we can also forgo the anchors, if it's too much hassel. it's more of a nice to have
Steps to reproduce: