use ST2/ST3 compatible syntax

this is a close approximation of the ST2/ST3 syntax for doctype
declarations, in practice it is the same