We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 36a90f5 commit bcbf113Copy full SHA for bcbf113
1 file changed
src/html5lib/tokenizer.py
@@ -679,7 +679,7 @@ def commentStartDashState(self):
679
self.tokenQueue.append(self.currentToken)
680
self.state = self.states["data"]
681
else:
682
- self.currentToken["data"] += data + self.stream.charsUntil(u"-")
+ self.currentToken["data"] += "-" + data + self.stream.charsUntil(u"-")
683
self.state = self.states["comment"]
684
return True
685
0 commit comments