This needs to be an array value
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 5 Mar 2010 05:50:26 +0000 (22:50 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 5 Mar 2010 07:09:41 +0000 (00:09 -0700)
framework/Text_Filter/lib/Horde/Text/Filter/Html2text.php

index 8b30c74..593ad30 100644 (file)
@@ -250,7 +250,7 @@ class Horde_Text_Filter_Html2text extends Horde_Text_Filter_Base
                                         $tmp = array_merge($tmp, explode("\n", wordwrap($val2, $this->_params['width'] - (2 * $val['level']))));
                                     }
                                 } else {
-                                    $tmp = $val['text'];
+                                    $tmp = array($val['text']);
                                 }
 
                                 /* Clean out empty entries. */