X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbabel.php;h=3352366bd5a78279c3e21d2b069c48c89e796c61;hb=67dc08d120828fe277584ba4127340eeb447f8d4;hp=4550a8efbf954fc49a21b64a8dbcbba584183990;hpb=631c7104124d244cf04cfe63502d5ade5d8ea5cb;p=friendica.git diff --git a/mod/babel.php b/mod/babel.php index 4550a8efbf..3352366bd5 100644 --- a/mod/babel.php +++ b/mod/babel.php @@ -23,9 +23,15 @@ function babel_content() 'content' => visible_lf($bbcode) ]; + $plain = Text\BBCode::toPlaintext($bbcode, false); + $results[] = [ + 'title' => L10n::t('BBCode::toPlaintext'), + 'content' => visible_lf($plain) + ]; + $html = Text\BBCode::convert($bbcode); $results[] = [ - 'title' => L10n::t("BBCode::convert \x28raw HTML\x28"), + 'title' => L10n::t("BBCode::convert \x28raw HTML\x29"), 'content' => htmlspecialchars($html) ];