#JC-1706 small fix to encode html