@DNSB . . . This is the before code, in your last example:
Code:
<p>This is a test <span class="italic"> </span>for<span class="italic"> spaces </span>inside a tag.</p>
. . . And when I ran the plugin with no options selected I got this result:
Code:
<p>This is a test for <span class="italic">spaces</span> inside a tag.</p>
And as you can see, the plugin has removed
"<span class="italic"> </span>" which is redundant and useless code that tries to style a blank space. And it's removal is correct plugin behaviour.