From: Jan Schneider Date: Sun, 14 Feb 2010 16:16:19 +0000 (+0100) Subject: Decode html entities too in cli mode. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=4ea592a4efcb32c5ac7b5c638e2d4a0ad7cb3009;p=horde.git Decode html entities too in cli mode. --- diff --git a/framework/Core/lib/Horde.php b/framework/Core/lib/Horde.php index ba9cb9326..dff62ebc5 100644 --- a/framework/Core/lib/Horde.php +++ b/framework/Core/lib/Horde.php @@ -251,7 +251,7 @@ class Horde } if ($cli) { - echo strip_tags(str_replace(array('
', '

', '

', '

', '

', '

', '

'), "\n", $errortext)); + echo html_entity_decode(strip_tags(str_replace(array('
', '

', '

', '

', '

', '

', '

'), "\n", $errortext))); } else { echo <<< HTML