Clean HTML5 code after validation