From: Matthias Mullie Date: Wed, 14 Oct 2015 09:14:51 +0000 (+0200) Subject: Let Import also read CDATA as content X-Git-Tag: 1.31.0-rc.0~9138 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=ca148480053f93b31d573d816b743afd6b5dcd61;p=lhc%2Fweb%2Fwiklou.git Let Import also read CDATA as content Change-Id: I55275e20bb2fd589247fca5c44fd54d1ae9ff686 --- diff --git a/includes/Import.php b/includes/Import.php index 33ab4eaced..3d94c33ec0 100644 --- a/includes/Import.php +++ b/includes/Import.php @@ -515,6 +515,7 @@ class WikiImporter { while ( $this->reader->read() ) { switch ( $this->reader->nodeType ) { case XMLReader::TEXT: + case XMLReader::CDATA: case XMLReader::SIGNIFICANT_WHITESPACE: $buffer .= $this->reader->value; break;