Quote:
Originally Posted by JSWolf
There is an empty span set. It's the span that does nothing. The other span does something so it's not empty. But regex will not recognize which </span> is the closing for empty span.
|
Perhaps the fundamental point of this particular question has escaped you. The OP is asking for something to find tags which do not enclose rendered text.
It is also worth pointing out that the span tag *can* be styled without attributes. Which would be the only reason to have an attributeless span tag anyway.