Index: modules/filter/filter.module =================================================================== RCS file: /cvs/drupal/drupal/modules/filter/filter.module,v retrieving revision 1.143 diff -u -Ffunction -r1.143 filter.module --- modules/filter/filter.module 1 Sep 2006 07:32:57 -0000 1.143 +++ modules/filter/filter.module 8 Sep 2006 20:49:27 -0000 @@ -1144,6 +1144,10 @@ function _filter_url_trim($text, $length * Based on: http://photomatt.net/scripts/autop */ function _filter_autop($text) { + + if(empty($text)) { + return; + } // All block level tags $block = '(?:table|thead|tfoot|caption|colgroup|tbody|tr|td|th|div|dl|dd|dt|ul|ol|li|pre|select|form|blockquote|address|p|h[1-6])';