Closed Lucas-C closed 7 years ago
Seems you've missed empty line after first <div>
. See spec. That's a very common mistake.
I don't see double escaping problem. After you add empty line, result should be the same.
If i missed something - add details please.
Got it: http://spec.commonmark.org/0.27/#example-118 Thank you !
Hi.
I'm not sure if this is a bug, but this behaviour surprised me.
There are some reproduction steps:
It looks like when
markdown-it
html: true
parameter is used,div
s generated bymarkdown-it-container
HTML escape their content one more time thandiv
s "simply" embedded as HTML code.Do you think
markdown-it-container
could avoid this extra-escaping ? Maybe by detecting ifhtml: true
is set ?