Issue #1344 - (Parser: C++) Don't reset containsHyphen value after finding one

This commit is contained in:
FranklinDM 2023-02-26 16:00:51 +08:00 committed by roytam1
commit 55100bb28e

View file

@ -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;
}
}