mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
html: Use NEXTL in htmlParseHTMLAttribute
This is more efficient than NEXT.
This commit is contained in:
parent
b167c73144
commit
14c62e0dd3
@ -2859,7 +2859,7 @@ htmlParseHTMLAttribute(htmlParserCtxtPtr ctxt, const xmlChar stop) {
|
||||
for ( ; bits >= 0; bits-= 6) {
|
||||
*out++ = ((c >> bits) & 0x3F) | 0x80;
|
||||
}
|
||||
NEXT;
|
||||
NEXTL(l);
|
||||
}
|
||||
if (out - buffer > maxLength) {
|
||||
htmlParseErr(ctxt, XML_ERR_ATTRIBUTE_NOT_FINISHED,
|
||||
|
Loading…
Reference in New Issue
Block a user