diff options
author | FranklinDM <mrmineshafter17@gmail.com> | 2023-02-26 16:00:51 +0800 |
---|---|---|
committer | FranklinDM <mrmineshafter17@gmail.com> | 2023-02-26 16:19:09 +0800 |
commit | 6c2fef44cf111418ae1e8d740543249b9675584f (patch) | |
tree | ce36ce45a80b6ff2aadecd3cc839c515a4917b6b /parser | |
parent | acbce95aa32b4acc9c85a074ffd8db3562fe888d (diff) | |
download | uxp-6c2fef44cf111418ae1e8d740543249b9675584f.tar.gz |
Issue #1344 - (Parser: C++) Don't reset containsHyphen value after finding one
Diffstat (limited to 'parser')
-rw-r--r-- | parser/html/nsHtml5Tokenizer.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/parser/html/nsHtml5Tokenizer.cpp b/parser/html/nsHtml5Tokenizer.cpp index 4c6a32f731..c3b92fdc8d 100644 --- a/parser/html/nsHtml5Tokenizer.cpp +++ b/parser/html/nsHtml5Tokenizer.cpp @@ -598,7 +598,6 @@ nsHtml5Tokenizer::stateLoop(int32_t state, char16_t c, int32_t pos, char16_t* bu containsHyphen = true; } appendStrBuf(c); - containsHyphen = false; continue; } } |