mirror of
https://github.com/suk-ws/ph-Bookshelf.git
synced 2024-12-05 09:26:52 +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 APP_NAME = "ph-Bookshelf";
|
||||||
|
|
||||||
const VERSION = "0.3.3";
|
const VERSION = "0.3.3.1";
|
||||||
const CHANNEL = "suk-ws";
|
const CHANNEL = "suk-ws";
|
||||||
const BRANCH = "master";
|
const BRANCH = "master";
|
||||||
|
@ -80,6 +80,7 @@ class Bookshelf {
|
|||||||
for ($rcc = $rc->firstChild; $rcc != null; $rcc = $rcc->nextSibling) {
|
for ($rcc = $rc->firstChild; $rcc != null; $rcc = $rcc->nextSibling) {
|
||||||
switch ($rcc->nodeName) {
|
switch ($rcc->nodeName) {
|
||||||
case "#text":
|
case "#text":
|
||||||
|
case "#cdata-section":
|
||||||
$value .= trim($rcc->nodeValue);
|
$value .= trim($rcc->nodeValue);
|
||||||
break;
|
break;
|
||||||
case "#comment":
|
case "#comment":
|
||||||
|
Loading…
Reference in New Issue
Block a user