I have a parser which sanitizes some HTML but when I sanitize, the nbsp entities are converted to spaces. I want all entities to remain as-is.
I tried setting convertNonBreakingSpaces to false but it doesn't seem to make any difference.
Source source = new Source(pseudoHTML);
Otherwise you'll have to include your source code for me to help further.
Thanks! Works great!
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.