X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbabel.php;h=64c9557767d278d7a6122019dbd6016f4c3087d0;hb=41663c7592abe55a958632c3a48265e0a8544d2b;hp=6a6e084a05450a3754d199bf8984ce66bf5ac1e3;hpb=91facd2d0a2869e2c26a5943d8afe1849d3891f8;p=friendica.git diff --git a/mod/babel.php b/mod/babel.php index 6a6e084a05..64c9557767 100644 --- a/mod/babel.php +++ b/mod/babel.php @@ -140,9 +140,9 @@ 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', '')), ''], + '$text' => ['text', L10n::t('Source text'), defaults($_REQUEST, 'text', ''), ''], '$type_bbcode' => ['type', L10n::t('BBCode'), 'bbcode', '', defaults($_REQUEST, 'type', 'bbcode') == 'bbcode'], '$type_markdown' => ['type', L10n::t('Markdown'), 'markdown', '', defaults($_REQUEST, 'type', 'bbcode') == 'markdown'], '$type_html' => ['type', L10n::t('HTML'), 'html', '', defaults($_REQUEST, 'type', 'bbcode') == 'html'],