Sanitizing generated html