projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ee1df3
)
trim trailing LF in imported link
author
Friendika
<info@friendika.com>
Tue, 7 Dec 2010 00:26:32 +0000
(16:26 -0800)
committer
Friendika
<info@friendika.com>
Tue, 7 Dec 2010 00:26:32 +0000
(16:26 -0800)
mod/parse_url.php
patch
|
blob
|
history
diff --git
a/mod/parse_url.php
b/mod/parse_url.php
index db306ca76440e027458ffc8a9a4e93aa3fdd8f6a..aa71893ab47ebade0e5043976157f57d174daf59 100644
(file)
--- 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;
}
}