diff --git a/include/functions_trackbacks.inc.php b/include/functions_trackbacks.inc.php index e4dbb4e6..9b4e52e6 100644 --- a/include/functions_trackbacks.inc.php +++ b/include/functions_trackbacks.inc.php @@ -574,7 +574,9 @@ function serendipity_handle_references($id, $author, $title, $text, $dry_run = f echo $row . "
\n"; } + $names[$i] = strip_tags($names[$i]); if (empty($names[$i])) { + if ($debug) echo "Found reference $locations[$i] w/o name. Adding location as name."; $names[$i] = $locations[$i]; }