Using a custom doctype for html5

Francois du Toit <[email protected]> Sun, 24 Oct 2010 16:13:54 +0200
Newsgroups gmane.comp.web.html-tidy.user
Message-ID <[email protected]>
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




-- 
ζφ