mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-10-18 17:32:44 -04:00
Specific HTML load for lib_phpQuery.php (#4243)
And reverts a less appropriate workaround for the same thing in https://github.com/FreshRSS/FreshRSS/pull/4220 Avoids XML errors when believing that a document might be XML/XHTML.
This commit is contained in:
1 parent
7c74653cc2
commit
467ca9d0de
2 files changed
+2
-3
No files matched your search
@@ -484,7 +484,7 @@ class FreshRSS_Entry extends Minz_Model {
|
||||
/**
|
||||
* @var phpQueryObject @doc
|
||||
*/
|
||||
$doc = phpQuery::newDocument($html);
|
||||
$doc = phpQuery::newDocumentHTML($html);
|
||||
|
||||
if ($maxRedirs > 0) {
|
||||
//Follow any HTML redirection
|
||||
|
||||
Reference in new issue
Block a user