update_rss_feed: escape dumped content while debugging
This commit is contained in:
parent
3b44aae0f3
commit
0bc503ff9a
1 changed files with 7 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue