mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Merge branch 'PHP-8.4' into PHP-8.5
* PHP-8.4: Fix GH-21041: Dom\HTMLDocument corrupts closing tags within scripts
This commit is contained in:
4
NEWS
4
NEWS
@@ -26,6 +26,10 @@ PHP NEWS
|
||||
- Date:
|
||||
. Update timelib to 2022.16. (Derick)
|
||||
|
||||
- DOM:
|
||||
. Fixed GH-21041 (Dom\HTMLDocument corrupts closing tags within scripts).
|
||||
(lexborisov)
|
||||
|
||||
- MbString:
|
||||
. Fixed bug GH-20833 (mb_str_pad() divide by zero if padding string is
|
||||
invalid in the encoding). (ndossche)
|
||||
|
||||
@@ -364,6 +364,7 @@ lxb_html_tokenizer_state_script_data_end_tag_name(lxb_html_tokenizer_t *tkz,
|
||||
if (lexbor_str_res_alpha_character[*data]
|
||||
== LEXBOR_STR_RES_SLIP)
|
||||
{
|
||||
lxb_html_tokenizer_state_append_data_m(tkz, data);
|
||||
goto anything_else;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user