From: Andrew Dolgov Date: Tue, 4 Mar 2014 12:30:46 +0000 (+0400) Subject: Revert "parser: experimentally set preservewhitespace to false" X-Git-Tag: 1.12~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=4ce778677ef16353d5b0b8342a29bd65575310f5;p=tt-rss.git Revert "parser: experimentally set preservewhitespace to false" This reverts commit b69d94eeeb6ed539267a4328265354a45d23ba86. --- diff --git a/classes/feedparser.php b/classes/feedparser.php index efef3bca..187875b5 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();