mirror of
https://github.com/ManchildProductions/UXP-Fixed.git
synced 2026-06-11 22:08:45 +00:00
[Parser] Move setting context to null to the correct location.
This commit is contained in:
@@ -705,8 +705,6 @@ public abstract class TreeBuilder<T> implements TokenHandler,
|
||||
tokenizer.setState(Tokenizer.DATA);
|
||||
}
|
||||
}
|
||||
contextName = null;
|
||||
contextNode = null;
|
||||
} else {
|
||||
mode = INITIAL;
|
||||
// If we are viewing XML source, put a foreign element permanently
|
||||
@@ -1614,6 +1612,8 @@ public abstract class TreeBuilder<T> implements TokenHandler,
|
||||
public final void endTokenization() throws SAXException {
|
||||
formPointer = null;
|
||||
headPointer = null;
|
||||
contextName = null;
|
||||
contextNode = null;
|
||||
deepTreeSurrogateParent = null;
|
||||
templateModeStack = null;
|
||||
if (stack != null) {
|
||||
|
||||
Reference in New Issue
Block a user