fix html5 formatting