]> git.wh0rd.org Git - tt-rss.git/commitdiff
Revert "parser: experimentally set preservewhitespace to false"
authorAndrew Dolgov <noreply@fakecake.org>
Tue, 4 Mar 2014 12:30:46 +0000 (16:30 +0400)
committerAndrew Dolgov <noreply@fakecake.org>
Tue, 4 Mar 2014 12:30:46 +0000 (16:30 +0400)
This reverts commit b69d94eeeb6ed539267a4328265354a45d23ba86.

classes/feedparser.php

index efef3bca41a0914c01b5f1c85e3588840ee95d2b..187875b5f9cbf380d70147454ace75ddc3409917 100644 (file)
@@ -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();