diff --git a/mod/parse_url.php b/mod/parse_url.php index db306ca7..aa71893a 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -29,7 +29,7 @@ function parse_url_content(&$a) { if($items) { foreach($items as $item) { - $title = $item->textContent; + $title = trim($item->textContent); break; } }