mirror of
https://github.com/friendica/friendica
synced 2025-04-26 00:30:12 +00:00
Providing the uri-id to "convert" when possible
This commit is contained in:
parent
098cd543ea
commit
37a76e70ef
5 changed files with 9 additions and 9 deletions
|
@ -1803,7 +1803,7 @@ class OStatus
|
|||
|
||||
if (!$toplevel) {
|
||||
if (!empty($item['title'])) {
|
||||
$title = BBCode::convert($item['title'], false, BBCode::OSTATUS);
|
||||
$title = BBCode::convert($item['title'], false, BBCode::OSTATUS, false, $item['uri-id']);
|
||||
} else {
|
||||
$title = sprintf("New note by %s", $owner["nick"]);
|
||||
}
|
||||
|
@ -1892,7 +1892,7 @@ class OStatus
|
|||
$body = "[b]".$item['title']."[/b]\n\n".$body;
|
||||
}
|
||||
|
||||
$body = BBCode::convert($body, false, BBCode::OSTATUS);
|
||||
$body = BBCode::convert($body, false, BBCode::OSTATUS, false, $item['uri-id']);
|
||||
|
||||
XML::addElement($doc, $entry, "content", $body, ["type" => "html"]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue