title: Parse character entity references
body: <p>I made a webcrawler using Selenium and it returns the content of certain HTML elements. Now I noticed it returns things like <code>&amp;nbsp;</code> and <code>&amp;amp;</code>. Is there a simple way to turn these into the right character other than using the replace method for every single entity? I use the JSoup HTML parser to get rid of the unwanted HTML code that the crawler returns, but it doesn't seem to deal with this particular isssue.</p>