Fix for html:5 doctypes