Just a quick idea for a (regression?) unit test:
<div>Wow!<img src="path.png"></div>
I saw this as a unit test in a javascript html-to-markdown project but I forget where exactly.
This can fail if the markdown converter simply generates
Apparently, that's a problem for (some?) Markdown parsers.
So that javascript package just verified that a blank space is inserted between the semantic ! and the image element.
Just a quick idea for a (regression?) unit test:
I saw this as a unit test in a javascript html-to-markdown project but I forget where exactly.
This can fail if the markdown converter simply generates
Apparently, that's a problem for (some?) Markdown parsers.
So that javascript package just verified that a blank space is inserted between the semantic
!and the image element.