Index: codefilter.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/codefilter/codefilter.module,v retrieving revision 1.11 diff -u -r1.11 codefilter.module --- codefilter.module 23 Apr 2005 02:39:02 -0000 1.11 +++ codefilter.module 11 Aug 2005 20:44:01 -0000 @@ -68,6 +68,7 @@ $multiline = ereg("[\n\r]", $text); // Note, pay attention to odd preg_replace-with-/e behaviour on slashes $text = preg_replace("/^\n/", '', preg_replace('@@', '', str_replace('\"', '"', $text))); + $text = preg_replace('/\t/', '    ', $text); // Replace indentation with non-breaking spaces $text = preg_replace_callback('/(^ +|\n +)/s', 'codefilter_fix_indent', $text); // Trim leading and trailing linebreaks