update to encode html tag