diff --git a/mod/parse_url.php b/mod/parse_url.php index cf52011f15..66ad1e57ce 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -327,12 +327,14 @@ function parse_url_content(&$a) { if($url && $title && $text) { + $title = str_replace(array("\r","\n"),array('',''),$title); + if($textmode) $text = '[quote]' . trim($text) . '[/quote]' . $br; - else - $text = '
' . trim($text) . '
' . htmlspecialchars(trim($text)) . '
'.trim($text).''; + $text = '
'.htmlspecialchars(trim($text)).''; } if($image) {