Remove profile about field double HTML escaping

- Add BBcode conversion for profile.about in widget/vcard.tpl
This commit is contained in:
Hypolite Petovan 2020-02-11 21:38:42 -05:00
parent a42104ce43
commit 1ce5b1d65b
11 changed files with 16 additions and 14 deletions

View file

@ -47,7 +47,7 @@ function common_content(App $a)
$contact = DBA::selectFirst('contact', ['name', 'url', 'photo', 'uid', 'id'], ['self' => true, 'uid' => $uid]);
if (DBA::isResult($contact)) {
$vcard_widget = Renderer::replaceMacros(Renderer::getMarkupTemplate("widget/vcard.tpl"), [
$vcard_widget = Renderer::replaceMacros(Renderer::getMarkupTemplate('widget/vcard.tpl'), [
'$name' => $contact['name'],
'$photo' => $contact['photo'],
'url' => 'contact/' . $cid