Revert "parser: experimentally set preservewhitespace to false"

This reverts commit b69d94eeeb.
This commit is contained in:
Andrew Dolgov 2014-03-04 16:30:46 +04:00
parent b69d94eeeb
commit 4ce778677e
1 changed files with 0 additions and 3 deletions

View 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();