On Fri, 2018-08-17 at 14:42 +0200, André Rothe wrote:
> https://3v4l.org/O0iEf

Try changing
    ...writeln('<' + '/td>');
and see if that helps; or use a CDATA section,
]]></script> to escape the </td> markup from the HTML parser.
Although it may depend on what the missing //... lines look like,
assuming this is not the complete source.

Better yet, don't use document.write at all, and switch to more modern
practices :)

I'm not sure there's actually a bug here; if you feed the parser tag
soup, expect a mess. Keep zPHP, JavaScript, HTML, CSS in separate files
and life will probably be simpler.


Liam Quin - web slave for https://www.fromoldbooks.org/
with fabulous vintage art and fascinating texts to read.

xml mailing list, project page  http://xmlsoft.org/

Reply via email to