Index: inc/template.preprocess-node.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/adaptivetheme/inc/template.preprocess-node.inc,v
retrieving revision 1.3
diff -u -p -r1.3 template.preprocess-node.inc
--- inc/template.preprocess-node.inc	8 Sep 2009 22:01:36 -0000	1.3
+++ inc/template.preprocess-node.inc	12 Oct 2009 09:35:18 -0000
@@ -88,14 +88,17 @@ if ((module_exists('taxonomy')) && ($tax
       if ($terms) {
         $output .= ($taxonomy_format == 'vocab') ? '<li class="vocab vocab-'. $vocabulary->vid .'"><span class="vocab-name">'. $vocabulary->name .':</span> <ul class="vocab-list">' : '';
         $links = array();
-        foreach ($terms as $term) {        
-          $links[] = '<li class="vocab-term">'. l($term->name, taxonomy_term_path($term), array('attributes' => array('rel' => 'tag', 'title' => strip_tags($term->description)))) .'</li>';        
+        $term_index = 0 ;
+        foreach ($terms as $term) {
+          $term_index++;
+          $term_delimiter = ( $term_index == count($terms) ) ? '' : ', ' ;
+          $links[] = '<li class="vocab-term">' . l($term->name, taxonomy_term_path($term), array('attributes' => array('rel' => 'tag', 'title' => strip_tags($term->description)))) . $term_delimiter . '</li>';
         }
         if ($taxonomy_format == 'list') {
           $output .= $vocab_delimiter;    // Add comma between vocabularies
           $vocab_delimiter = ', ';        // Use a comma delimiter after first displayed vocabulary
         }
-        $output .= implode(", ", $links);
+        $output .= implode("", $links);
         $output .= ($taxonomy_format == 'vocab') ? '</ul></li>' : '';
       }
     }
@@ -109,4 +112,3 @@ else {
   $vars['terms'] = '';
 }
 
- 
