]> git.mxchange.org Git - friendica.git/blobdiff - mod/babel.php
Fix escaping in email notification template
[friendica.git] / mod / babel.php
index 6a6e084a05450a3754d199bf8984ce66bf5ac1e3..b9846e4fb433a16867f7d6afd20bedff2cbd0aac 100644 (file)
@@ -140,7 +140,7 @@ function babel_content()
                }
        }
 
-       $tpl = get_markup_template('babel.tpl');
+       $tpl = Renderer::getMarkupTemplate('babel.tpl');
        $o = Renderer::replaceMacros($tpl, [
                '$text'          => ['text', L10n::t('Source text'), htmlentities(defaults($_REQUEST, 'text', '')), ''],
                '$type_bbcode'   => ['type', L10n::t('BBCode'), 'bbcode', '', defaults($_REQUEST, 'type', 'bbcode') == 'bbcode'],