ContentEdit icon indicating copy to clipboard operation
ContentEdit copied to clipboard

Avoid deleting "empty" elements with defined attributes

Open micahscopes opened this issue 6 years ago • 0 comments

An element without children might still have attributes defined. Example: in bootstrap, you might to do something like this:

<span class="glyphicon glyphicon-music"></span>

This is an "empty" element if you're only counting how many children it has, but its attributes are very "full"

micahscopes avatar Apr 03 '18 02:04 micahscopes