Skip to content

Commit a7447c1

Browse files
committed
Merge branch 'PHP-8.5'
* PHP-8.5: Fix GH-21041: Dom\HTMLDocument corrupts closing tags within scripts
2 parents 6d95a22 + d2cd73a commit a7447c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/lexbor/lexbor/html/tokenizer/state_script.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ lxb_html_tokenizer_state_script_data_end_tag_name(lxb_html_tokenizer_t *tkz,
364364
if (lexbor_str_res_alpha_character[*data]
365365
== LEXBOR_STR_RES_SLIP)
366366
{
367+
lxb_html_tokenizer_state_append_data_m(tkz, data);
367368
goto anything_else;
368369
}
369370

0 commit comments

Comments
 (0)