From ca148480053f93b31d573d816b743afd6b5dcd61 Mon Sep 17 00:00:00 2001 From: Matthias Mullie Date: Wed, 14 Oct 2015 11:14:51 +0200 Subject: [PATCH] Let Import also read CDATA as content Change-Id: I55275e20bb2fd589247fca5c44fd54d1ae9ff686 --- includes/Import.php | 1 + 1 file changed, 1 insertion(+) 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; -- 2.20.1