[njs] XML: allowing to remove the property $text for XMLNode.
noreply at nginx.com
noreply at nginx.com
Thu Mar 27 16:05:02 UTC 2025
details: https://github.com/nginx/njs/commit/f89644e7a4b96c3a6dbd603e7b45ea4c87c5b7a0
branches: master
commit: f89644e7a4b96c3a6dbd603e7b45ea4c87c5b7a0
user: Dmitry Volyntsev <xeioex at nginx.com>
date: Mon, 3 Mar 2025 17:07:59 -0800
description:
XML: allowing to remove the property $text for XMLNode.
---
external/njs_xml_module.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/external/njs_xml_module.c b/external/njs_xml_module.c
index f66c8cdb..6bdbb639 100644
--- a/external/njs_xml_module.c
+++ b/external/njs_xml_module.c
@@ -370,6 +370,7 @@ static njs_external_t njs_ext_xml_node[] = {
.name.string = njs_str("$text"),
.enumerable = 1,
.writable = 1,
+ .configurable = 1,
.u.property = {
.handler = njs_xml_node_ext_text,
}
More information about the nginx-devel
mailing list