Encode html value for APPMNG (refs #3980)