Re: How to make Tidy skip unknown elements (not standard)

* Georg Bege wrote:
>But if it hits an element which is not standard and it cannot find that,
>it's an fatal error to Tidy and he doesnt go on parsing -
>can I ignore this somehow?
>
>Because I'd like to benefit from the rest of the code, even
>if one element is <bark> or <marquee>?

You can declare the unkown element using the --new-*-tags options, and
you can force Tidy to emit what it has read of the document using the
--force-output option.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Thursday, 10 January 2013 22:16:47 UTC