validate (balance) html tags
Posted: Wed Nov 08, 2006 2:40 pm
Looking for a solution to validate a string to make sure all html tags are balanced.
if a tag is opened and not closed (or vice versa) it is considered unbalanced and that tag should be removed (or turned into a comment)
if a tag is opened and not closed (or vice versa) it is considered unbalanced and that tag should be removed (or turned into a comment
Code: Select all
<!-- B -->