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…
Reference in a new issue