Skip to content

Commit

Permalink
Merge branch 'entity'
Browse files Browse the repository at this point in the history
  • Loading branch information
smparkes committed Jun 23, 2009
2 parents 6fcd583 + 3da90ae commit 21ae670
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dom/parser.js
Expand Up @@ -652,6 +652,7 @@ XMLP.prototype._replaceEntity = function(strD, iB, iE) {
case "gt": strEnt = ">"; break;
case "apos": strEnt = "'"; break;
case "quot": strEnt = "\""; break;
case "nbsp": strEnt = " "; break;
default:
if(strD.charAt(iB) == "#") {
strEnt = String.fromCharCode(parseInt(strD.substring(iB + 1, iE)))+'';
Expand Down

0 comments on commit 21ae670

Please sign in to comment.