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!