Fixed bug #236: Rendered pages do not validate if no doctype is set.