You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What possessed you to keep a list of non-self-closing tags and have all others self-close, rather than specifying a (very small) list of tags that can self-close?
notSelfClosingTags: ['textarea', 'script', 'em', 'strong', 'option', 'select']
/* and by implication, everything else is self-closing!!!! */
This is clearly very silly.
The text was updated successfully, but these errors were encountered:
The code
produces
which is not valid HTML!
What possessed you to keep a list of non-self-closing tags and have all others self-close, rather than specifying a (very small) list of tags that can self-close?
This is clearly very silly.
The text was updated successfully, but these errors were encountered: