Is there a way to format only some special characters with JSoup?
<p>Using the <a href="https://jsoup.org" rel="nofollow">JSoup library</a> is there a way to only clean up some characters. For example I want <code>&amp;nbsp;</code> to be replaced by spaces, and <code>&amp;quot;</code> by an actual quote but I don't want any <code>&lt;br&gt;</code>, <code>&lt;p&gt;</code>, etc. to be removed or replaced. I don't want to extract all the html as it does with:</p>

<pre><code>Jsoup.parse(html).text()
</code></pre>

<p>Instead what I want to do is provide it with a list, possibly an array, of encodings I want to be parsed and cleaned up such as <code>&amp;quot;</code> and so on.</p>