diff options
author | Friendika <info@friendika.com> | 2010-12-06 16:26:32 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-12-06 16:26:32 -0800 |
commit | 0afc71a95a54f6b648a551584c2f7fc7a6c16880 (patch) | |
tree | 09766083500dbe8b84560b3cb377a9129b360438 /mod/parse_url.php | |
parent | 1ee1df3747ee22f561ff5573fc40012c3af44e70 (diff) | |
download | volse-hubzilla-0afc71a95a54f6b648a551584c2f7fc7a6c16880.tar.gz volse-hubzilla-0afc71a95a54f6b648a551584c2f7fc7a6c16880.tar.bz2 volse-hubzilla-0afc71a95a54f6b648a551584c2f7fc7a6c16880.zip |
trim trailing LF in imported link
Diffstat (limited to 'mod/parse_url.php')
-rw-r--r-- | mod/parse_url.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/parse_url.php b/mod/parse_url.php index db306ca76..aa71893ab 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; } } |