update html encoding issue that causes parse error