W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2003

Re: Problems tidying content as XHTML strict

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 14 Aug 2003 15:48:50 +0200
To: Tim Fountain <tim@incutio.com>
Cc: html-tidy@w3.org
Message-ID: <3f6692f2.330595020@smtp.bjoern.hoehrmann.de>

* Tim Fountain wrote:
>>> The output needs to be XHTML strict, however despite the doctype in
>>> the content and me setting the doctype in the tidy configuration
>>> file, the resulting output seems to be XHTML transitional.
>
>> Your document contains elements that do not conform to Strict, and
>> Tidy is preserving them and adjusting the Doctype to suit.
>
>> The only other option would be to discard the non-Strict tags and
>> attributes (since there's no general way to transform them into
>> Strict ones).
>
>Discarding them would be fine, is there any way I can get Tidy to do
>this?

--drop-proprietary-attributes yes as a start.
Received on Thursday, 14 August 2003 09:49:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:54 UTC