Fixes: https://github.com/vaadin/framework/issues/11958 Authored-by: Tatu Lund <tatu@vaadin.com>tags/8.11.0
Document document = response.getDocument(); | Document document = response.getDocument(); | ||||
DocumentType doctype = new DocumentType("html", "", "", | |||||
document.baseUri()); | |||||
DocumentType doctype = new DocumentType("html", "", ""); | |||||
document.child(0).before(doctype); | document.child(0).before(doctype); | ||||
Element head = document.head(); | Element head = document.head(); |