]> git.mxchange.org Git - friendica.git/blobdiff - mod/babel.php
Rewrite Proxy module
[friendica.git] / mod / babel.php
index b9846e4fb433a16867f7d6afd20bedff2cbd0aac..64c9557767d278d7a6122019dbd6016f4c3087d0 100644 (file)
@@ -142,7 +142,7 @@ function babel_content()
 
        $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'],