HTML parser stops eating tag when <-char is met