fix html code snippet