W3C home > Mailing lists > Public > html-tidy@w3.org > January to March 2013

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

From: Marvin Reimer <therealmarv@gmail.com>
Date: Thu, 10 Jan 2013 18:47:11 +0100
Message-ID: <CAEiDoX6PK9g3ieApe_ijdfAx2RmOCtEXUbL=38oN0wxhpEpSKQ@mail.gmail.com>
To: therion@ninth-art.de
Cc: html-tidy@w3.org
Hi Georg,

please look at the http://tidy.sourceforge.net/docs/quickref.html and use
one of this options (which fits best):
- new-inline-tags
- new-blocklevel-tags
- new-empty-tags
- new-pre-tags

Best regards,
Marvin

2013/1/10 Georg Bege <therion@ninth-art.de>

> Hello guys
>
> I've a simple issue, Im using Tidy via .NET -
> everything works great.
> 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>?
>
> cheers
> Georg
>
>
>
>
Received on Friday, 11 January 2013 11:56:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 January 2013 11:56:17 GMT