diff --git a/common.inc.php b/common.inc.php index 4f7ed1d..7ed8127 100644 --- a/common.inc.php +++ b/common.inc.php @@ -1306,6 +1306,8 @@ function format_duration($seconds, $granularity = 2) function getTextFromHtml($html) { //first, replace an

with


$text=str_replace("

","


",$html); + //next, replace a with
+ $text=str_replace("","
",$html); //now replace any
with newlines $text=eregi_replace('',chr(13).chr(10),$text); //and strip the rest of the tags