View Single Post
Old 02-07-2014, 06:13 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Suggestion: Run Check addition for 'do nothing' tags

It would seem (to me at least) that if I have no text selected, then ...

a) I would not want to insert 'do nothing' tags for bold, italic, color, underline, etc.

So my first thought was to suggest ignoring the [B] or [I] etc.

However, then I realized that ...

b) I might want the tags because I want to insert text between them

So finally I thought possibly

c) a [Run Check] question and cleanup of empty tag pairs

Code:
  <h1>test<b><i><u><strike><span style="color: rgb(255, 0, 0)"></span></strike></u></i></b></h1>
Be a little complicated I guess since (as in the example) the <span> is empty making the <strike> empty making the <u> empty making the <i> empty and finally making the <b> empty

I'm not sure, but white space would not count since who wants a bold space

Code:
  <h1>test</h1>
phossler is offline   Reply With Quote