mirror of
https://github.com/friendica/friendica
synced 2025-04-30 09:04:22 +02:00
Unified BBCode conversion, improved proxy functionality
This commit is contained in:
parent
81d2d4b70e
commit
8bb33dccd1
22 changed files with 61 additions and 35 deletions
|
@ -179,7 +179,7 @@ class NotifyMailBuilder extends MailBuilder
|
|||
*/
|
||||
protected function getHtmlMessage()
|
||||
{
|
||||
$htmlVersion = BBCode::convert($this->body);
|
||||
$htmlVersion = BBCode::convertForUriId(0, $this->body, BBCode::EXTERNAL);
|
||||
|
||||
// load the template for private message notifications
|
||||
$tpl = Renderer::getMarkupTemplate('email/notify/html.tpl');
|
||||
|
|
|
@ -100,7 +100,7 @@ class SystemMailBuilder extends MailBuilder
|
|||
'$preamble' => str_replace("\n", "<br>\n", $this->preamble),
|
||||
'$thanks' => $this->l10n->t('thanks'),
|
||||
'$site_admin' => $this->siteAdmin,
|
||||
'$htmlversion' => BBCode::convert($this->body),
|
||||
'$htmlversion' => BBCode::convertForUriId(0, $this->body, BBCode::EXTERNAL),
|
||||
]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue