fixed bug with automatically encoding special characters like lt, gt