=== modified file 'codefilter.module'
--- codefilter.module	2008-03-23 21:27:20 +0000
+++ codefilter.module	2008-03-23 21:52:48 +0000
@@ -80,7 +80,7 @@
 }
 
 function codefilter_fix_spaces($text) {
-  return preg_replace('@&nbsp;(?!&nbsp;)@', ' ', $text);
+  return preg_replace('@(?<!<br />)&nbsp;(?!&nbsp;)@', ' ', $text);
 }
 
 /**

