diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2010-11-29 14:48:53 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2010-11-29 14:48:53 +0000 |
commit | f719d3707d5b26709dd85f67de82a7c33781e2e3 (patch) | |
tree | ef0ad5684578b0798589f55affb2ef6a6d7fd35e /ext/dom/text.c | |
parent | dd92188d760153817887775d56be1fb2bf09e49f (diff) | |
download | php-git-f719d3707d5b26709dd85f67de82a7c33781e2e3.tar.gz |
Fixed bug #52656 (DOMCdataSection does not work with splitText).
Diffstat (limited to 'ext/dom/text.c')
-rw-r--r-- | ext/dom/text.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dom/text.c b/ext/dom/text.c index 88cbe5377f..c8a39515ca 100644 --- a/ext/dom/text.c +++ b/ext/dom/text.c @@ -160,7 +160,7 @@ PHP_FUNCTION(dom_text_split_text) } DOM_GET_OBJ(node, id, xmlNodePtr, intern); - if (node->type != XML_TEXT_NODE) { + if (node->type != XML_TEXT_NODE && node->type != XML_CDATA_SECTION_NODE) { RETURN_FALSE; } |