Fixed a bug with html special characters