mirror of
https://github.com/friendica/friendica
synced 2024-12-07 03:32:05 +01:00
trim trailing LF in imported link
This commit is contained in:
parent
1ee1df3747
commit
0afc71a95a
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ function parse_url_content(&$a) {
|
|||
|
||||
if($items) {
|
||||
foreach($items as $item) {
|
||||
$title = $item->textContent;
|
||||
$title = trim($item->textContent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue