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

Whitespace normalizing introduces unwanted new spaces #731

Closed
arienkock opened this issue Jul 8, 2016 · 2 comments
Closed

Whitespace normalizing introduces unwanted new spaces #731

arienkock opened this issue Jul 8, 2016 · 2 comments
Labels
duplicate This is a duplicate issue or root-cause of another issue
Milestone

Comments

@arienkock
Copy link

I've seen several whitespace related issues, but I believe this one hasn't been addressed by any of them yet. Given H<sub>2</sub>O the result of Jsoup.clean("H<sub>2</sub>O", Whitelist.basic()) is

H
<sub>2</sub>O

Which doesn't display in browsers as intended:

H 2O
@arienkock arienkock changed the title Whitespace normalizing intrpduces unwanted new spaces Whitespace normalizing introduces unwanted new spaces Jul 8, 2016
@jhy
Copy link
Owner

jhy commented Feb 2, 2020

Thanks - this is a dupe of the future bug #1305

@jhy jhy closed this as completed Feb 2, 2020
@jhy jhy added this to the 1.12.2 milestone Feb 2, 2020
@jhy jhy added the duplicate This is a duplicate issue or root-cause of another issue label Feb 2, 2020
@jhy
Copy link
Owner

jhy commented Feb 2, 2020

(Well not precisely actually, but I fixed it with 279fbe1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This is a duplicate issue or root-cause of another issue
Projects
None yet
Development

No branches or pull requests

2 participants