Index: whitespacefilter.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/whitespacefilter/whitespacefilter.module,v
retrieving revision 1.2
diff -u -r1.2 whitespacefilter.module
--- whitespacefilter.module	14 Feb 2008 00:11:38 -0000	1.2
+++ whitespacefilter.module	14 Feb 2008 06:06:10 -0000
@@ -1,35 +1,41 @@
 <?php
-// $ID$
+// $Id$
+
 /**
-* @file
-* A module that will remove excess white spaces to save space in the database while increasing download times.
-*/
+ * @file
+ * A module that will remove excess white spaces to save space in the database while increasing download times.
+ */
 
 /**
-* Implementation of hook_filter().
-*/
-function whitespacefilter_filter ($op, $delta = 0, $format = -1, $text= '') {
-
-	switch ($op) {
-		case 'list':
-			return array(0 => t('White Space Filter'));
-		case 'description':
-			return t('Strips all duplicate whitespaces (tabs, CR, LF and spaces) from user html source and replaces them with a single space.');
-		case 'settings':
-			break;
-		case 'no cache':
-			return FALSE;
-		case 'prepare':
-			return $text;
-		case 'process':
-			$pat[0] = "/^\s+/";
-			$pat[1] = "/\s{2,}/";
-			$pat[2] = "/\s+\$/";
-			$rep[0] = "";
-			$rep[1] = " ";
-			$rep[2] = "";
-			return preg_replace($pat,$rep,$text);
-		default: 
-			return $text;	
-	}
+ * Implementation of hook_filter().
+ */
+function whitespacefilter_filter($op, $delta = 0, $format = -1, $text= '') {
+  switch ($op) {
+    case 'list':
+      return array(0 => t('White Space Filter'));
+
+    case 'description':
+      return t('Strips all duplicate whitespaces (tabs, CR, LF and spaces) from user html source and replaces them with a single space.');
+
+    case 'settings':
+      break;
+
+    case 'no cache':
+      return FALSE;
+
+    case 'prepare':
+      return $text;
+
+    case 'process':
+      $pat[0] = "/^\s+/";
+      $pat[1] = "/\s{2,}/";
+      $pat[2] = "/\s+\$/";
+      $rep[0] = "";
+      $rep[1] = " ";
+      $rep[2] = "";
+      return preg_replace($pat, $rep, $text);
+
+    default: 
+      return $text;
+  }
 }
\ No newline at end of file

