From: Michael Vogel Date: Tue, 12 Apr 2016 20:53:54 +0000 (+0200) Subject: API: Just some more elements where Twidere has problems ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=667cb76b7997ed5f9998994188ef96cf08aef3d7;p=friendica.git API: Just some more elements where Twidere has problems ... --- diff --git a/include/api.php b/include/api.php index 8d74a4612d..305a86ca13 100644 --- a/include/api.php +++ b/include/api.php @@ -2065,8 +2065,14 @@ $statushtml = trim(bbcode($body, false, false)); - $search = array("
", "
", "
"); - $replace = array("
\n", "\n
", "
\n"); + $search = array("
", "
", "
", + "

", "

", "

", "

", + "

", "

", "

", "

", + "
", "
", "
", "
"); + $replace = array("
\n", "\n
", "
\n", + "\n

", "

\n", "\n

", "

\n", + "\n

", "

\n", "\n

", "

\n", + "\n
", "
\n", "\n
", "
\n"); $statushtml = str_replace($search, $replace, $statushtml); if ($item['title'] != "")