Open jonnyandrew opened 1 year ago
Markwon version: 4.6.2
Extra new lines are inserted in front of inline code while parsing HTML.
I have created a minimal reproduction of this bug here: jonnyandrew/markwon-repro.
HtmlPlugin
markwon.parse("<div>block</div>")
markwon.parse("Some <code>inline code</code>")
The rendered text does not have any extra new lines.
The rendered text has a new line immediately before the inline code.
Markwon version: 4.6.2
Extra new lines are inserted in front of inline code while parsing HTML.
I have created a minimal reproduction of this bug here: jonnyandrew/markwon-repro.
Steps to reproduce
HtmlPlugin
.markwon.parse("<div>block</div>")
markwon.parse("Some <code>inline code</code>")
Expected
The rendered text does not have any extra new lines.
Actual
The rendered text has a new line immediately before the inline code.
Screenshot from the repro app