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?

Thanks




-- 

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

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:14:00 GMT