X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fbabel.php;h=3b4fb5bf2bfcd018a332ca887295465c57a69e36;hb=0454d0a670e051e8519e9a4220606f83d1408214;hp=e8ea11c94e904305d6d89985c5ab730e6cfcabb6;hpb=30a77cc10a21728efdca48e6cd3cb04586b1df23;p=friendica.git
diff --git a/mod/babel.php b/mod/babel.php
index e8ea11c94e..3b4fb5bf2b 100644
--- a/mod/babel.php
+++ b/mod/babel.php
@@ -1,78 +1,79 @@
', $s);
+/**
+ * @file mod/babel.php
+ */
+use Friendica\Content\Text\Markdown;
+use Friendica\Core\L10n;
+
+require_once 'include/bbcode.php';
+require_once 'include/bb2diaspora.php';
+require_once 'include/html2bbcode.php';
+
+function visible_lf($s)
+{
+ return str_replace("\n", '
', $s);
}
-function babel_content(App $a) {
-
- $o .= '
' . $d2bbtext . '' . EOL . EOL; $bb = diaspora2bb($d2bbtext); - $o .= "
' . $bb . '' . EOL . EOL; } return $o;