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
domify('<div class="main"></div>');// returns a div element
domify('<div class="main"></div><!-- .main -->');// returns a document-fragment
The practice of putting the trailing comment to identify the closing tag is quite common, especially for large node. Is this a bug or the intended behavior, and is there a way to get around it without removing the comment?
The text was updated successfully, but these errors were encountered:
The practice of putting the trailing comment to identify the closing tag is quite common, especially for large node. Is this a bug or the intended behavior, and is there a way to get around it without removing the comment?
The text was updated successfully, but these errors were encountered: