TylerDurden
12-05-2010, 10:53 PM
I have a script that truncates HTML text given certain criteria. However when this truncation occurs, it leaves several open tags. Is there a script out there that can scan a HTML string, detect the open tags and close the open tags at the end of string?