mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:05:56 +00:00
Revert "parser: experimentally set preservewhitespace to false"
This reverts commit b69d94eeeb.
This commit is contained in:
@@ -27,7 +27,6 @@ class FeedParser {
|
|||||||
libxml_use_internal_errors(true);
|
libxml_use_internal_errors(true);
|
||||||
libxml_clear_errors();
|
libxml_clear_errors();
|
||||||
$this->doc = new DOMDocument();
|
$this->doc = new DOMDocument();
|
||||||
$this->doc->preserveWhiteSpace = false;
|
|
||||||
$this->doc->loadXML($data);
|
$this->doc->loadXML($data);
|
||||||
|
|
||||||
mb_substitute_character("none");
|
mb_substitute_character("none");
|
||||||
@@ -42,7 +41,6 @@ class FeedParser {
|
|||||||
libxml_clear_errors();
|
libxml_clear_errors();
|
||||||
|
|
||||||
$this->doc = new DOMDocument();
|
$this->doc = new DOMDocument();
|
||||||
$this->doc->preserveWhiteSpace = false;
|
|
||||||
$this->doc->loadXML($data);
|
$this->doc->loadXML($data);
|
||||||
|
|
||||||
$error = libxml_get_last_error();
|
$error = libxml_get_last_error();
|
||||||
@@ -66,7 +64,6 @@ class FeedParser {
|
|||||||
libxml_clear_errors();
|
libxml_clear_errors();
|
||||||
|
|
||||||
$this->doc = new DOMDocument();
|
$this->doc = new DOMDocument();
|
||||||
$this->doc->preserveWhiteSpace = false;
|
|
||||||
$this->doc->loadXML($data);
|
$this->doc->loadXML($data);
|
||||||
|
|
||||||
$error = libxml_get_last_error();
|
$error = libxml_get_last_error();
|
||||||
|
|||||||
Reference in New Issue
Block a user