Skip to content
New issue

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

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

Already on GitHub? # to your account

HTML: Space between text and <svg> tag is not preserved #751

Closed
scalisi opened this issue Sep 28, 2024 · 1 comment
Closed

HTML: Space between text and <svg> tag is not preserved #751

scalisi opened this issue Sep 28, 2024 · 1 comment

Comments

@scalisi
Copy link

scalisi commented Sep 28, 2024

text <svg> is minified to text<svg>. Is this intended?

Commit 3dd6c8b that was made in response to issue #89 ensured that space between text and an <img> is preserved, and I wasn't sure if space between text and an <svg> should also be preserved.

I started using --html-keep-whitespace as a solution to this issue and I really appreciate that this option exists. Thanks!

@tdewolff
Copy link
Owner

Thanks for the report, this has been fixed!

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

No branches or pull requests

2 participants