From 467ca9d0deea511700656d4433dbd915b137b748 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Tue, 1 Mar 2022 16:03:44 +0100 Subject: 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. --- lib/lib_phpQuery.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/lib_phpQuery.php b/lib/lib_phpQuery.php index 1fabfcb6d..411aa120c 100644 --- a/lib/lib_phpQuery.php +++ b/lib/lib_phpQuery.php @@ -436,8 +436,7 @@ class DOMDocumentWrapper { } protected function isXML($markup) { // return strpos($markup, '