thanhlong203 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

goog.string.unescapeEntities doesn't handle unterminated entities in IE7 #322

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?

1. Run: goog.string.unescapeEntities('a&b');

What is the expected output? What do you see instead?

Expected: A return value of 'a&b'.
Actual: "Error: Object required"

What version of the product are you using? On what operating system?

IE7/Windows Vista
It works fine on other browsers, including IE8, Safari 5, Firefox 3.6, and 
Chrome \infty.

Please provide any additional information below.

Original issue reported on code.google.com by jua...@google.com on 7 May 2011 at 3:01