void () { // restore HTML5 doctype, because we're unable to determine it without doctype ExternalResourceManagerEx.getInstanceEx().setDefaultHtmlDoctype(myOldDoctype, getProject()); myFixture.enableInspections(new CheckDtdReferencesInspection()); doTest(); }