projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c54aea7
)
Decode html entities too in cli mode.
author
Jan Schneider
<jan@horde.org>
Sun, 14 Feb 2010 16:16:19 +0000
(17:16 +0100)
committer
Jan Schneider
<jan@horde.org>
Sun, 14 Feb 2010 22:24:05 +0000
(23:24 +0100)
framework/Core/lib/Horde.php
patch
|
blob
|
history
diff --git
a/framework/Core/lib/Horde.php
b/framework/Core/lib/Horde.php
index
ba9cb93
..
dff62eb
100644
(file)
--- 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('<br />', '<p>', '</p>', '<h1>', '</h1>', '<h3>', '</h3>'), "\n", $errortext
));
+ echo
html_entity_decode(strip_tags(str_replace(array('<br />', '<p>', '</p>', '<h1>', '</h1>', '<h3>', '</h3>'), "\n", $errortext)
));
} else {
echo <<< HTML
<html>