about summary refs log tree commit diff stats
path: root/src/html
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2022-12-16 20:53:40 +0100
committerbptato <nincsnevem662@gmail.com>2022-12-16 20:53:40 +0100
commitc1c5a64ebb7bcc6deace0dce6f6a530039302f7e (patch)
tree8be8578ae3c3285e90d3173cae8bd0f6c086e960 /src/html
parent7146419b06c87eb00a51b16d5bec3e22b7d0a949 (diff)
downloadchawan-c1c5a64ebb7bcc6deace0dce6f6a530039302f7e.tar.gz
htmltokenizer: fix after attribute value (quoted) bug
I forgot to change the last case when copy-pasting. Oops.
Diffstat (limited to 'src/html')
-rw-r--r--src/html/htmltokenizer.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/html/htmltokenizer.nim b/src/html/htmltokenizer.nim
index 5053af97..5a2c16bc 100644
--- a/src/html/htmltokenizer.nim
+++ b/src/html/htmltokenizer.nim
@@ -895,7 +895,9 @@ iterator tokenize*(tokenizer: var Tokenizer): Token =
       of eof:
         parse_error eof_in_tag
         emit_eof
-      else: append_to_current_attr_value r
+      else:
+        parse_error missing_whitespace_between_attributes
+        reconsume_in BEFORE_ATTRIBUTE_NAME
 
     of SELF_CLOSING_START_TAG:
       case c