Does anyone know how to get a doctype to output at the top of a portal page (we are on the 7.3 portal)? I have an external facing site that absolutely needs a doctype specified.
You used to be able to use the deprecated
PortalHtmlResponse.getHtmlDocument()
method to get a reference to the document, and you could add a doctype from that. However, the PortalHtmlResponse object no longer exists, it seems.
I want to add the doctype
<!DOCTYPE HTML>
at the top of a portal page.