Fix scan location after reading Named Entity
This commit is contained in:
@@ -380,6 +380,9 @@
|
||||
[self emitParseError:@"Named entity without semicolon"];
|
||||
}
|
||||
|
||||
[_inputStreamReader rewindToMarkedLocation];
|
||||
[_inputStreamReader consumeString:entityName caseSensitive:YES];
|
||||
|
||||
return entityReplacement;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user