--- pathologic.module.orig.module	2009-08-13 08:43:17.000000000 -0700
+++ pathologic.module	2009-08-13 08:41:58.000000000 -0700
@@ -31,7 +31,7 @@ function pathologic_filter($op, $delta =
       // Transform attributes.
       // The "internal:" bit in the regex makes life easier for those migrating
       // from the Path Filter module.
-      $text = preg_replace_callback('|src="(internal:)?([^/][^:"\?&]+)([\?&]([^#]+))"|', '_pathologic_do_src', $text);
+      $text = preg_replace_callback('|src="(internal:)?([^/][^:"\?&]+)([\?&]([^#]+))?"|', '_pathologic_do_src', $text);
     }
     return $text;
   }
