summaryrefslogtreecommitdiff
path: root/parser
diff options
context:
space:
mode:
authorFranklinDM <mrmineshafter17@gmail.com>2023-02-26 15:52:07 +0800
committerFranklinDM <mrmineshafter17@gmail.com>2023-02-26 16:19:02 +0800
commitacbce95aa32b4acc9c85a074ffd8db3562fe888d (patch)
tree7417ee2395bc732d7a2b5e57ada2eb80440f7d4a /parser
parentfc408bf1e2574e0ec651450756699e855ce75309 (diff)
downloaduxp-acbce95aa32b4acc9c85a074ffd8db3562fe888d.tar.gz
Issue #1344 - (Parser: Java) Don't reset containsHyphen value after finding one
Diffstat (limited to 'parser')
-rw-r--r--parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/Tokenizer.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/Tokenizer.java b/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/Tokenizer.java
index c6f6797fff..a674189450 100644
--- a/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/Tokenizer.java
+++ b/parser/html/java/htmlparser/src/nu/validator/htmlparser/impl/Tokenizer.java
@@ -1784,7 +1784,6 @@ public class Tokenizer implements Locator {
* name.
*/
appendStrBuf(c);
- containsHyphen = false;
/*
* Stay in the tag name state.
*/