X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fbabel.php;h=3352366bd5a78279c3e21d2b069c48c89e796c61;hb=80a4e6263fd53f83a710d2a2e6c57baae38cb14b;hp=4550a8efbf954fc49a21b64a8dbcbba584183990;hpb=7acb4b04343df31c2cc78214fae5429c66d95fb2;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) ];