markdown-to-jsx
markdown-to-jsx copied to clipboard
Spaces between HTML tags are ignored
Hi, I found an issue with parsing HTML tags.
When HTML tags are presented one after another e.g. <a>link</a> <strong>text</strong>
the output doesn't include space between tags. What interesting spaces aren't trimmed if there is text between tags or if we use markdown syntax instead of HTML tags.
It can be reproduced on https://probablyup.com/markdown-to-jsx/ using this code snippet:
Example of an issue
in this case spaces are ignored -> <b>bold</b> <i>italic</i> <u>underscore</u>
if there is text between tags it works as expected -> <b>bold</b> notag <u>underscore</u>
it also works for markdown -> **bold** *italic*
This issue still exists in the latest version.
Have you found a solution?