From 4b99d122dd7734c8f1c6aad3b6ab4316f3c5738d Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 14 Sep 2017 05:48:43 +0000 Subject: [PATCH] Added explanation --- include/api.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/include/api.php b/include/api.php index 3c84f46f76..45c9ed2554 100644 --- a/include/api.php +++ b/include/api.php @@ -2276,14 +2276,11 @@ $called_api = null; $statushtml = trim(bbcode($body, false, false)); + // Workaround for clients with limited HTML parser functionality $search = array("
", "
", "
", "

", "

", "

", "

", "

", "

", "

", "

", "
", "
", "
", "
"); -// $replace = array(" \n
", " \n
", "
\n ", -// " \n

", "

\n ", " \n

", "

\n ", -// " \n

", "

\n ", " \n

", "

\n ", -// " \n
", "
\n ", " \n
", "
\n "); $replace = array("
", "
", "

", "

", "


", "

", "


", "

", "


", "

", "


",