[NXCM-5498] Html encode of displayed error message

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>