We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a912842 commit f9f370eCopy full SHA for f9f370e
html5lib/_tokenizer.py
@@ -781,7 +781,9 @@ def scriptDataDoubleEscapedState(self):
781
"eof-in-script-in-script"})
782
self.state = self.dataState
783
else:
784
- self.tokenQueue.append({"type": tokenTypes["Characters"], "data": data})
+ chars = self.stream.charsUntil(("<", "-", "\u0000"))
785
+ self.tokenQueue.append({"type": tokenTypes["Characters"], "data":
786
+ data + chars})
787
return True
788
789
def scriptDataDoubleEscapedDashState(self):
0 commit comments