Re: How to make Tidy skip unknown elements (not standard)
Bjoern Hoehrmann <[email protected]> Thu, 10 Jan 2013 23:16:21 +0100
| Newsgroups | gmane.comp.web.html-tidy.user |
|---|---|
| Message-ID | <[email protected]> |
* 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:[email protected] · 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/