mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Replacing numberic values with constants for the BBCode conversion
This commit is contained in:
parent
59cfb05c3a
commit
b406d737b5
5 changed files with 12 additions and 12 deletions
|
@ -214,7 +214,7 @@ function windowsphonepush_cron()
|
|||
if (substr($body, 0, 4) == "[url") {
|
||||
$body = "URL/Image ...";
|
||||
} else {
|
||||
$body = BBCode::convert($body, false, 2, true);
|
||||
$body = BBCode::convert($body, false, BBCode::API, true);
|
||||
$body = HTML::toPlaintext($body, 0);
|
||||
$body = ((strlen($body) > 137) ? substr($body, 0, 137) . "..." : $body);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue