html-to-markdown
html-to-markdown copied to clipboard
🐛 Bug: spurious whitespace insertion
Describe the bug A clear and concise description of what the bug is.
HTML Input
<p><a href="https://example.com">Hello world</a>. "<a href="https://example.com">Example 1</a>".</p>
Generated Markdown
[Hello world](https://example.com). " [Example 1](https://example.com)".
Expected Markdown
[Hello world](https://example.com). "[Example 1](https://example.com)".
Additional context Spurious whitespace is inserted before links
Ref: https://github.com/ashishb/wp2hugo/issues/11