]> git.mxchange.org Git - friendica.git/blobdiff - mod/babel.php
Enforce systen.register_policy value type
[friendica.git] / mod / babel.php
index 4550a8efbf954fc49a21b64a8dbcbba584183990..3352366bd5a78279c3e21d2b069c48c89e796c61 100644 (file)
@@ -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)
                                ];