Tidy up System:Advanced:Network XHTML

Close BR tags
Update CDATA sections in script tags
Update HTML boolean operators