Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds extra spaces between inline elements #6

Open
nex3 opened this issue Oct 12, 2024 · 0 comments
Open

Adds extra spaces between inline elements #6

nex3 opened this issue Oct 12, 2024 · 0 comments

Comments

@nex3
Copy link

nex3 commented Oct 12, 2024

var simplyBeautiful = require("simply-beautiful");

console.log(simplyBeautiful.html('<p><strong>strong</strong> <em>em</em></p>'));

produces

<p><strong>strong</strong>  <em>em</em>
</p>

Note the double space between </strong> and <em>. (The dangling </p> is also strange.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant