mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-26 21:11:29 +00:00
generate a warning if plugin-generated content of HOOK_ARTICLE_BUTTON or _LEFT_BUTTON can't be parsed as valid XML
This commit is contained in:
@@ -193,10 +193,9 @@ class FeedParser {
|
||||
}
|
||||
}
|
||||
|
||||
/** @deprecated use Errors::format_libxml_error() instead */
|
||||
function format_error(LibXMLError $error) : string {
|
||||
return sprintf("LibXML error %s at line %d (column %d): %s",
|
||||
$error->code, $error->line, $error->column,
|
||||
$error->message);
|
||||
return Errors::format_libxml_error($error);
|
||||
}
|
||||
|
||||
// libxml may have invalid unicode data in error messages
|
||||
|
||||
Reference in New Issue
Block a user