Using a custom doctype for html5

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 UTC