Fix the way SVG doctype is inserted in the document.