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

Re: Stop Tidy replacing unexpected tags and warn on upper-case tags

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Tue, 13 Jul 2010 16:25:33 +0200
To: Ben Bradley <ben.bradley@dealer-world.com>
Cc: html-tidy@w3.org
Message-ID: <0kto36lpuptvamj5aeeais9qit4rvcseve@hive.bjoern.hoehrmann.de>
* Ben Bradley wrote:
>1) I've had a dig through the options but I can't find a way to stop Tidy replacing unexpected tags, eg: 
>Warning: replacing unexpected b by </b> 
>I'd like Tidy to give me the warning/errors rather than actually replacing anything.

The otion is `--markup no`.

>2) It seems Tidy ignores the case of tags and converts them all to lower-case.
>Is there an option to also error/warn when tags are written in upper-case?

There is no such option, generally Tidy will silently correct many
things without generating error messages, especially little things
like adding quote marks around attribute values.
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 Tuesday, 13 July 2010 14:26:10 UTC

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