el = insert_html_element t
head_element_pointer = el
ins_mode = ins_mode_in_head
+ return
if t.type is TYPE_END_TAG
if t.name is 'head' or t.name is 'body' or t.name is 'html' or t.name is 'br'
# fall through to Anything else below
return
# Otherwise
parse_error()
- tok_cur_tag = new_comment_token '!' # TODO test ("!" right?)
+ tok_cur_tag = new_comment_token ''
tok_state = tok_state_bogus_comment
return
# tokenizer initialization
tok_state = tok_state_data
+ if args.name is "one_that_breaks #1"
+ throw "hi" # console.log "hi"
# proccess input
# http://www.w3.org/TR/html5/syntax.html#tree-construction
while flag_parsing