X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2Fapi.php;h=305a86ca13e7148de24210c2515ea675a1ffd9f0;hb=1dda70d144bf86c6c83ed6fbbe2c438a7e1aac4a;hp=8d74a4612df70bf6ae7120bcc8f6ff5a4f2184b0;hpb=34dc23b87115b34f1322a8f9c59dddc719bff121;p=friendica.git 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'] != "")