X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbabel.php;h=3352366bd5a78279c3e21d2b069c48c89e796c61;hb=22816c49a1972fff2e201dd66ac59b80624ee8aa;hp=cafd06556b8adde32498fe28dd39c9e120e2849f;hpb=88353ce56f0e5da6352af2d999a58bd0c9b375f7;p=friendica.git diff --git a/mod/babel.php b/mod/babel.php index cafd06556b..3352366bd5 100644 --- a/mod/babel.php +++ b/mod/babel.php @@ -23,6 +23,12 @@ 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\x29"),