View Single Post
Old 12-08-2023, 07:22 PM   #171
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
@nabsltd . . . I don't think that you have fully understood what I've said. When I say that my plugin "removes empty spans" I mean that it removes all span tags that have no attributes. See example below:

<p class="P1"><span>This is an example of a span tag that does nothing.</span></p>

And after my plugin is run the span tags are removed and the line will look like this:

<p class="P1">This is an example of a span tag that does nothing.</p>

. . . In the above example the span tags contains no attributes like classses or ids and therefore they contribute nothing to the styling of the text and can therefore be removed without causing any problems. This is what I mean when I say that my plugin automatically removes "empty spans". They are referred to as empty because they contain no attributes.

Last edited by slowsmile; 12-08-2023 at 07:28 PM.
slowsmile is offline   Reply With Quote