1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.4'

* PHP-8.4:
  Backport lexbor/lexbor@814e0bce97 (#18574)
This commit is contained in:
Niels Dossche
2025-05-16 20:28:16 +02:00

View File

@@ -444,7 +444,9 @@ lxb_dom_element_attr_by_local_name_data(lxb_dom_element_t *element,
lxb_dom_attr_t *attr = element->first_attr;
while (attr != NULL) {
if (attr->node.local_name == data->attr_id) {
if (attr->node.local_name == data->attr_id
|| attr->qualified_name == data->attr_id)
{
return attr;
}