View Single Post
Old 08-05-2018, 08:05 AM   #7
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 6,543
Karma: 84810789
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by theducks View Post
Typically, you delete an opening tag, the Beautify , the closing tag will be cleared.
That won't work in all cases. Consider the following:

<p>The <span class="bold">beginning <span class="ital">of the</span> end.</span></p>

Deleting the second span yields:

<p>The <span class="bold">beginning of the</span> end.</span></p>

The running beautify results in:

<p>The <span class="bold">beginning of the</span> end.</p>

But, what was desired is:

<p>The <span class="bold">beginning of the end.</span></p>
jhowell is online now   Reply With Quote