1
0
mirror of https://tt-rss.org/git/tt-rss.git synced 2024-06-22 11:36:38 +02:00

update_rss_feed: escape dumped content while debugging

This commit is contained in:
Andrew Dolgov 2016-01-23 02:17:24 +03:00
parent 3b44aae0f3
commit 0bc503ff9a

View File

@ -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);