From 018b3ed25f8d8c1f0c9e54261777070a4ff23198 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Tue, 12 Apr 2016 22:53:54 +0200 Subject: [PATCH] API: Just some more elements where Twidere has problems ... --- include/api.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) 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'] != "")