aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-06 16:26:32 -0800
committerFriendika <info@friendika.com>2010-12-06 16:26:32 -0800
commit0afc71a95a54f6b648a551584c2f7fc7a6c16880 (patch)
tree09766083500dbe8b84560b3cb377a9129b360438
parent1ee1df3747ee22f561ff5573fc40012c3af44e70 (diff)
downloadvolse-hubzilla-0afc71a95a54f6b648a551584c2f7fc7a6c16880.tar.gz
volse-hubzilla-0afc71a95a54f6b648a551584c2f7fc7a6c16880.tar.bz2
volse-hubzilla-0afc71a95a54f6b648a551584c2f7fc7a6c16880.zip
trim trailing LF in imported link
-rw-r--r--mod/parse_url.php2
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;
}
}