Common subdirectories: quicktags/contrib and quicktags_cleanup/contrib
Common subdirectories: quicktags/po and quicktags_cleanup/po
diff -upN quicktags/quicktags.module quicktags_cleanup/quicktags.module
--- quicktags/quicktags.module	2008-02-12 21:07:20.000000000 +0000
+++ quicktags_cleanup/quicktags.module	2008-04-04 19:59:53.993509100 +0100
@@ -5,7 +5,7 @@
  * Implementation of hook_help().
  */
 function quicktags_help($section) {
-  switch($section) {
+  switch ($section) {
     case 'admin/modules#description':
       return t('Allows Drupal to use quicktags around the textarea for easier user input');
   }
@@ -117,7 +117,7 @@ function quicktags_show_quicktags() {
 function theme_quicktags_textfield($element) {
   static $ta_count = 0;
 
-  $path = drupal_get_path('module','quicktags');
+  $path = drupal_get_path('module', 'quicktags');
 
   //Add the stylesheet
   $stylesheet =  $path .'/quicktags.css';
@@ -146,7 +146,7 @@ function theme_quicktags_textfield($elem
   $html .= '</textarea>';
   $html .= '<script language="JavaScript" type="text/javascript">
     <!--
-      edCanvas[' . $ta_count . '] = document.getElementById(\''.$element['#id'] .'\');
+      edCanvas['. $ta_count .'] = document.getElementById(\''. $element['#id'] .'\');
     //-->
   </script>';
   $ta_count++;
@@ -164,9 +164,9 @@ function theme_quicktags_textfield($elem
  * access;     // access key
  * open;       // set to -1 if tag does not need to be closed
  * location;   // optional: onclick action omit the ().
-*/
+ */
 function quicktags_quicktags_insert() {
-  $path = base_path() . drupal_get_path('module','quicktags') .'/';
+  $path = base_path() . drupal_get_path('module', 'quicktags') .'/';
 
   $items = array(
     'ed_italic' => array(
@@ -195,7 +195,7 @@ function quicktags_quicktags_insert() {
     ),
     'ed_block' => array(
       'name' => 'blockquote',
-      'prefix' =>'<blockquote>',
+      'prefix' => '<blockquote>',
       'suffix' => '</blockquote>',
       'accesskey' => 'q',
       'weight' => 40,
@@ -203,7 +203,7 @@ function quicktags_quicktags_insert() {
     ),
     'ed_link' => array(
       'name' => 'link',
-      'prefix' =>'<a href="http://">',
+      'prefix' => '<a href="http://">',
       'suffix' => '</a>',
       'accesskey' => 'l',
       'weight' => 50,
@@ -211,7 +211,7 @@ function quicktags_quicktags_insert() {
     ),
     'ed_break' => array(
       'name' => 'teaser break',
-      'prefix' =>'<!--break-->',
+      'prefix' => '<!--break-->',
       'accesskey' => 't',
       'weight' => 60,
       'close' => FALSE,
@@ -234,12 +234,12 @@ function quicktags_javascript() {
   foreach ($items as $id => $item) {
     //build the arglist to pass to JS
     // id, display, tagStart, tagEnd, access, open, location, icon
-    $args = '\''. $id .'\',\''. $item['name'] .'\',\''. $item['prefix'] .'\',\''. $item['suffix'] .'\',\''. $item['accesskey'] .'\',\''. ($item['close'] ? 0 : -1) .'\',\''. $item['location'] .'\',\''.$item['icon'] .'\'';
+    $args = '\''. $id .'\',\''. $item['name'] .'\',\''. $item['prefix'] .'\',\''. $item['suffix'] .'\',\''. $item['accesskey'] .'\',\''. ($item['close'] ? 0 : -1) .'\',\''. $item['location'] .'\',\''. $item['icon'] .'\'';
 
     $output .= "edButtons[edButtons.length] = new edButton(". $args  .");\n" ;
   }
 
-  if($output) {
+  if ($output) {
     drupal_set_header('Content-Type: text/javascript; charset=utf-8');
     print $js ."\n". $output;
   }
