fix html5 snippet