Fix html code for special characters