only the exclamantion mark of the doctype directive should be escaped