[views] fix XSS vulnerability of raw filter