mirror of
https://github.com/friendica/friendica
synced 2025-01-22 10:59:47 +00: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) {
|
if($items) {
|
||||||
foreach($items as $item) {
|
foreach($items as $item) {
|
||||||
$title = $item->textContent;
|
$title = trim($item->textContent);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue