diff options
author | Henri Sivonen <hsivonen@hsivonen.fi> | 2019-07-20 15:23:12 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-07-20 15:23:12 +0200 |
commit | c3643770724119efc1ec8b3fe4e2571db0f897b6 (patch) | |
tree | 6b4bb753bbfb8ff2c77e8d652a1ba5d76bf74ad5 /parser/html/nsHtml5Tokenizer.cpp | |
parent | 408ca49a029efa54d18234288c04944d2905fecb (diff) | |
download | UXP-c3643770724119efc1ec8b3fe4e2571db0f897b6.tar UXP-c3643770724119efc1ec8b3fe4e2571db0f897b6.tar.gz UXP-c3643770724119efc1ec8b3fe4e2571db0f897b6.tar.lz UXP-c3643770724119efc1ec8b3fe4e2571db0f897b6.tar.xz UXP-c3643770724119efc1ec8b3fe4e2571db0f897b6.zip |
Bug 1555523.
Diffstat (limited to 'parser/html/nsHtml5Tokenizer.cpp')
-rw-r--r-- | parser/html/nsHtml5Tokenizer.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/parser/html/nsHtml5Tokenizer.cpp b/parser/html/nsHtml5Tokenizer.cpp index a9db8d0c1..e70c081bf 100644 --- a/parser/html/nsHtml5Tokenizer.cpp +++ b/parser/html/nsHtml5Tokenizer.cpp @@ -2093,11 +2093,8 @@ nsHtml5Tokenizer::stateLoop(int32_t state, char16_t c, int32_t pos, char16_t* bu default: { tokenHandler->characters(nsHtml5Tokenizer::LT_SOLIDUS, 0, 2); emitStrBuf(); - if (c == '\0') { - emitReplacementCharacter(buf, pos); - } else { - cstart = pos; - } + cstart = pos; + reconsume = true; state = P::transition(mViewSource, returnState, reconsume, pos); NS_HTML5_CONTINUE(stateloop); } |