handle view special chars in HTML