Internet Explorer outerHTML and innerHTML missing closing tags on table objects <th> and <td>
I am trying to convert HTML tables to XML, but when performing the conversion on a Table object in IE, I get an error about tags not matching. The function I'm running is: while True: if (...
We managed to find a solution.The tags that IE wasn't returning (</td> and </th>) are considered optional tags in HTML5. The utility we used for building our web application was configured to automatically strip optional HTML tags to "minify" the code for performance reasons. So while our source code included those tags, it was being stripped during our build process. We changed our build process to not strip the tags anymore and it's been working since.Thank you for the help, it's greatly appreciated.