jonschlinkert / remarkable

Markdown parser, done right. Commonmark support, extensions, syntax plugins, high speed - all in one. Gulp and metalsmith plugins available. Used by Facebook, Docusaurus and many others! Use https://github.com/breakdance/breakdance for HTML-to-markdown conversion. Use https://github.com/jonschlinkert/markdown-toc to generate a table of contents.
https://jonschlinkert.github.io/remarkable/demo/
MIT License
5.75k stars 373 forks source link

adding line breaks in the middle of HTML blocks incorrectly changes the parsed output #394

Closed af4jm closed 4 years ago

af4jm commented 4 years ago

Example on Remarkable Demo, showing close tags escaped because the parser considers a line break to end the HTML block

This was discovered in Tiddlywiki, which embeds Remarkable... additional screenshots in the bug report over there

af4jm commented 4 years ago

sorry, I just realized the sample I pasted had the line break inside the closing tag, which I think is completely bogus... and putting the line break int he same place that I'm seeing the bug in TiddlyWiki does NOT break the Remarkable demo