GitbookIO/markup-it

Trailing space + line break in links

Soreine opened this issue · 0 comments

Concerns the Markdown to HTML test for fixture links_reference_style.md

Here's another where the [link 
breaks] across lines, but with a line-ending space.

After the word link there is a trailing space and a line break. The fixture says the trailing space should not be kept in the HTML output:

<p>Here&apos;s another where the <a href="/url/">link
breaks</a> across lines, but with a line-ending space.</p>

Instead, there is still a trailing space.