summaryrefslogtreecommitdiff
path: root/src/entities.rs
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-09-26 08:22:21 +0200
committerMartin Fischer <martin@push-f.com>2023-09-28 10:57:11 +0200
commitee8ab781672e7ab608e74a5b605eb189828f0afe (patch)
treea5fcb14faf4dc2c29a4ed9f6a0c087acf8bcfb0d /src/entities.rs
parentade1034c46f3c5e50bdf07fd1556b7957011fe98 (diff)
fix(tokenizer): don't lowercase temp chars in ScriptDataEndTagName
This bug resulted in e.g. "<script></SCRI" being wrongly tokenized as: StartTag(StartTag { name: "script", self_closing: false, attributes: {} }) Char('<') Char('/') Char('s') Char('c') Char('r') Char('i') EndOfFile Note that the Char tokens should be uppercase. (This bug could only be observed when properly doing state switching via tree construction.)
Diffstat (limited to 'src/entities.rs')
0 files changed, 0 insertions, 0 deletions