Re: [xml] Error on parsing HTML with libxml

On Fri, 2018-08-17 at 14:42 +0200, André Rothe wrote:

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
with fabulous vintage art and fascinating texts to read.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]