mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-09 18:08:49 +00:00
[various] Rename PageInfo::appendToBody to searchAndAppendToBody
This commit is contained in:
parent
1534404e3a
commit
a80e9154c5
2 changed files with 3 additions and 3 deletions
|
@ -1365,11 +1365,11 @@ function twitter_expand_entities($body, stdClass $status, $picture)
|
|||
} elseif ($picture) {
|
||||
$body .= "\n\n[img]" . $picture . "[/img]\n";
|
||||
} else {
|
||||
$body = PageInfo::appendToBody($body);
|
||||
$body = PageInfo::searchAndAppendToBody($body);
|
||||
}
|
||||
}
|
||||
|
||||
return ['body' => $body, 'plain' => $plain, 'taglist' => $taglist];
|
||||
return ['body' => $body, 'plain' => trim($plain), 'taglist' => $taglist];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue