mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 09:46:29 +00:00
update_rss_feed: escape dumped content while debugging
This commit is contained in:
@@ -662,7 +662,7 @@
|
||||
|
||||
if ($_REQUEST["xdebug"] == 2) {
|
||||
print "content: ";
|
||||
print $entry_content;
|
||||
print htmlspecialchars($entry_content);
|
||||
print "\n";
|
||||
}
|
||||
|
||||
@@ -771,6 +771,12 @@
|
||||
$entry_plugin_data .= mb_strtolower(get_class($plugin)) . ",";
|
||||
}
|
||||
|
||||
if ($_REQUEST["xdebug"] == 2) {
|
||||
print "processed content: ";
|
||||
print htmlspecialchars($article["content"]);
|
||||
print "\n";
|
||||
}
|
||||
|
||||
$entry_plugin_data = db_escape_string($entry_plugin_data);
|
||||
|
||||
_debug("plugin data: $entry_plugin_data", $debug_enabled);
|
||||
|
||||
Reference in New Issue
Block a user