Skip to content

Commit

Permalink
fixed xml cased escape sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
ncannasse committed Jan 7, 2025
1 parent bdae3e7 commit 26b0969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/haxe/xml/Parser.hx
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class Parser {
}
case S.ESCAPE:
if (c == ';'.code) {
var s = str.substr(start, p - start);
var s = str.substr(start, p - start).toLowerCase();
if (s.fastCodeAt(0) == '#'.code) {
var c = s.fastCodeAt(1) == 'x'.code ? Std.parseInt("0" + s.substr(1, s.length - 1)) : Std.parseInt(s.substr(1, s.length - 1));
#if !(target.unicode)
Expand Down

0 comments on commit 26b0969

Please sign in to comment.