1
0
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:
A.C.Sukazyo Eyre 2023-01-26 14:54:14 +08:00
parent 1a00273578
commit bc1f108f02
Signed by: Eyre_S
GPG Key ID: C17CE40291207874
2 changed files with 2 additions and 1 deletions

View File

@ -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";

View File

@ -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":