fix html doctype
conditional support for tidy