View Single Post
Old 12-08-2023, 09:11 PM   #176
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,350
Karma: 171313058
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Would empty spans also include <span class="foobar"> <i class="foobar">, <b class="foobar">, etc. with only spaces enclosed? Sample below was tested with 1 to 28 spaces with the same output.

Code:
<p>This is a test<span class="italic">     </span>for <span class="italic">spaces</span> inside a tag.</p>
after running CustomCleanerPlus comes out as:

Code:
<p>This is a test<span class="italic"/>for <span class="italic">spaces</span> inside a tag.</p>
It doesn't seem to matter how many spaces are inside the tags, they all get removed. Almost as if the code is supposed to remove multiple spaces and then doesn't stop at a single space.

Last edited by DNSB; 12-08-2023 at 09:16 PM.
DNSB is offline   Reply With Quote