Bug 566280 - Text run prefixed by U+0000 shows only U+FFFD. r=sicking.
This commit is contained in:
@@ -5858,10 +5858,9 @@ public class Tokenizer implements Locator {
|
||||
|
||||
private void emitReplacementCharacter(@NoLength char[] buf, int pos)
|
||||
throws SAXException {
|
||||
silentCarriageReturn();
|
||||
flushChars(buf, pos);
|
||||
tokenHandler.characters(Tokenizer.REPLACEMENT_CHARACTER, 0, 1);
|
||||
cstart = Integer.MAX_VALUE;
|
||||
cstart = pos + 1;
|
||||
}
|
||||
|
||||
private void setAdditionalAndRememberAmpersandLocation(char add) {
|
||||
|
||||
Reference in New Issue
Block a user