Im writing an online HTML editor.
I'm stuck with a situation where I wan't to ensure that the user has closed any HTML tables with the appropriate ending tags.
I thought the best way to to this would be to use PHP's xml parser and write a function to return the number of start and end table tags.
Problem is the xml_parser function is very strict. it throws up an error when it encounters anything that doen't resemble xml.
Is there any way to bypass this strict error checking?