X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcal.php;h=4b90b02cd845474ea4988d6444428f15e7b4582e;hb=8ec2b21a1471f0a3c0afdbe56fb525c1b4b06efc;hp=708d067d9fbe4b04b7f8e54ebec958a3471f9e68;hpb=e80d68ba53776bed047d897f52db7e25b35a479d;p=friendica.git diff --git a/mod/cal.php b/mod/cal.php index 708d067d9f..4b90b02cd8 100644 --- a/mod/cal.php +++ b/mod/cal.php @@ -26,6 +26,7 @@ use Friendica\App; use Friendica\Content\Feature; use Friendica\Content\Nav; +use Friendica\Content\Text\BBCode; use Friendica\Content\Widget; use Friendica\Core\Renderer; use Friendica\Core\Session; @@ -70,14 +71,14 @@ function cal_init(App $a) $account_type = Contact::getAccountType($profile); - $tpl = Renderer::getMarkupTemplate("widget/vcard.tpl"); + $tpl = Renderer::getMarkupTemplate('widget/vcard.tpl'); $vcard_widget = Renderer::replaceMacros($tpl, [ '$name' => $profile['name'], '$photo' => $profile['photo'], '$addr' => $profile['addr'] ?: '', '$account_type' => $account_type, - '$about' => $profile['about'] ?: '', + '$about' => BBCode::convert($profile['about']), ]); $cal_widget = Widget\CalendarExport::getHTML();