adding correct html encoding