summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-02-26 16:00:51 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-02-26 16:19:09 +0800
commit6c2fef44cf111418ae1e8d740543249b9675584f (patch)
treece36ce45a80b6ff2aadecd3cc839c515a4917b6b /parser
parentacbce95aa32b4acc9c85a074ffd8db3562fe888d (diff)
downloaduxp-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.cpp1
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;
}
}