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

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!

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

2 participants