trim trailing LF in imported link
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@ function parse_url_content(&$a) {
|
||||
|
||||
if($items) {
|
||||
foreach($items as $item) {
|
||||
$title = $item->textContent;
|
||||
$title = trim($item->textContent);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user