mirror of
https://github.com/suk-ws/ph-Bookshelf.git
synced 2024-12-05 01:16:53 +08:00
add support for CDATA in <configurations>
This commit is contained in:
parent
1a00273578
commit
bc1f108f02
@ -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";
|
||||
|
@ -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":
|
||||
|
Loading…
Reference in New Issue
Block a user