Closed QiAnXinCodeSafe closed 1 year ago
src/tokenizer.c in line 1124
static StateResult handle_rcdata_end_tag_open_state(GumboParser parser, GumboTokenizerState tokenizer, int c, GumboToken* output) { assert(temporary_buffer_equals(parser, "</")); if (is_alpha(c)) { gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA_END_TAG_NAME); start_new_tag(parser, false); append_char_to_temporary_buffer(parser, c); return NEXT_CHAR; } else { gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA); return emit_temporary_buffer(parser, output); } return true; //Dead code }
src/tokenizer.c in line 1124
static StateResult handle_rcdata_end_tag_open_state(GumboParser parser, GumboTokenizerState tokenizer, int c, GumboToken* output) { assert(temporary_buffer_equals(parser, "</")); if (is_alpha(c)) { gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA_END_TAG_NAME); start_new_tag(parser, false); append_char_to_temporary_buffer(parser, c); return NEXT_CHAR; } else { gumbo_tokenizer_set_state(parser, GUMBO_LEX_RCDATA); return emit_temporary_buffer(parser, output); } return true; //Dead code }