W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2010

Using a custom doctype for html5

From: Francois du Toit <fpdutoit.lists@gmail.com>
Date: Sun, 24 Oct 2010 16:13:54 +0200
Message-ID: <AANLkTim=icywMavTiG13ieC_fc9HBoyteTKXLR0bKYSK@mail.gmail.com>
To: html-tidy@w3.org
I'm trying to make tidy output html with a custom doctype for html5 as
described here: http://stackoverflow.com/questions/2657658
But when I try this, I get the following error:

# tidy --doctype '<!DOCTYPE html>' test.html

Config: missing or malformed argument for option: doctype
Error: Can't open "<!DOCTYPE html>"

The man page seems to suggest that a custom string can be used, so
what am I missing?



Received on Monday, 25 October 2010 22:20:24 UTC

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