diff options
author | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-12-19 20:51:52 +0100 |
---|---|---|
committer | Nick Wellnhofer <wellnhofer@aevum.de> | 2022-12-21 20:19:10 +0100 |
commit | a3c8b1805ecf61e0d4ec107a179937ac54e8cf6e (patch) | |
tree | d80854df0a1b9b53fccf317c9ffe183d6cbb03fa /include/private | |
parent | 463bbeeca1805b5c4828f50d0fefc4eebaf620df (diff) | |
download | libxml2-a3c8b1805ecf61e0d4ec107a179937ac54e8cf6e.tar.gz |
entities: Add entity flag for loop check
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/entities.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/private/entities.h b/include/private/entities.h index 88c9adc9..62ae3f16 100644 --- a/include/private/entities.h +++ b/include/private/entities.h @@ -9,10 +9,12 @@ * * XML_ENT_PARSED: The entity was parsed and `children` points to the * content. + * XML_ENT_CHECKED: The entity was checked for loops. */ #define XML_ENT_PARSED (1<<0) -#define XML_ENT_CHECKED_LT (1<<1) -#define XML_ENT_CONTAINS_LT (1<<2) +#define XML_ENT_CHECKED (1<<1) +#define XML_ENT_CHECKED_LT (1<<2) +#define XML_ENT_CONTAINS_LT (1<<3) XML_HIDDEN xmlChar * xmlEncodeAttributeEntities(xmlDocPtr doc, const xmlChar *input); |