diff --git a/constant.php b/constant.php index 69b7d32..f0b0340 100644 --- a/constant.php +++ b/constant.php @@ -2,6 +2,6 @@ const APP_NAME = "ph-Bookshelf"; -const VERSION = "0.3.3"; +const VERSION = "0.3.3.1"; const CHANNEL = "suk-ws"; const BRANCH = "master"; diff --git a/src/Element/Bookshelf.php b/src/Element/Bookshelf.php index 4ce01e3..c02a232 100644 --- a/src/Element/Bookshelf.php +++ b/src/Element/Bookshelf.php @@ -80,6 +80,7 @@ class Bookshelf { for ($rcc = $rc->firstChild; $rcc != null; $rcc = $rcc->nextSibling) { switch ($rcc->nodeName) { case "#text": + case "#cdata-section": $value .= trim($rcc->nodeValue); break; case "#comment":