Lists and tweet search moved

This commit is contained in:
Michael 2021-11-25 11:16:47 +00:00
parent d696c8d101
commit 9c61bd3ffc
6 changed files with 225 additions and 184 deletions

View file

@ -1432,7 +1432,7 @@ function photos_content(App $a)
];
$title_e = $item['title'];
$body_e = BBCode::convert($item['body']);
$body_e = BBCode::convertForUriId($item['uri-id'], $item['body']);
$comments .= Renderer::replaceMacros($template,[
'$id' => $item['id'],

View file

@ -123,7 +123,7 @@ function poco_init(App $a) {
}
$about = DI::cache()->get("about:" . $contact['updated'] . ":" . $contact['nurl']);
if (is_null($about)) {
$about = BBCode::convert($contact['about'], false);
$about = BBCode::convertForUriId($contact['uri-id'], $contact['about']);
DI::cache()->set("about:" . $contact['updated'] . ":" . $contact['nurl'], $about);
}