Make doctype configurable