From 4ce778677ef16353d5b0b8342a29bd65575310f5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 4 Mar 2014 16:30:46 +0400 Subject: [PATCH] Revert "parser: experimentally set preservewhitespace to false" This reverts commit b69d94eeeb6ed539267a4328265354a45d23ba86. --- classes/feedparser.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/classes/feedparser.php b/classes/feedparser.php index efef3bca4..187875b5f 100644 --- a/classes/feedparser.php +++ b/classes/feedparser.php @@ -27,7 +27,6 @@ class FeedParser { libxml_use_internal_errors(true); libxml_clear_errors(); $this->doc = new DOMDocument(); - $this->doc->preserveWhiteSpace = false; $this->doc->loadXML($data); mb_substitute_character("none"); @@ -42,7 +41,6 @@ class FeedParser { libxml_clear_errors(); $this->doc = new DOMDocument(); - $this->doc->preserveWhiteSpace = false; $this->doc->loadXML($data); $error = libxml_get_last_error(); @@ -66,7 +64,6 @@ class FeedParser { libxml_clear_errors(); $this->doc = new DOMDocument(); - $this->doc->preserveWhiteSpace = false; $this->doc->loadXML($data); $error = libxml_get_last_error();