? 925264-1_tags.patch
Index: mappers/taxonomy.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/feeds/mappers/taxonomy.inc,v
retrieving revision 1.11
diff -u -p -r1.11 taxonomy.inc
--- mappers/taxonomy.inc	16 Sep 2010 18:28:24 -0000	1.11
+++ mappers/taxonomy.inc	28 Sep 2010 14:38:25 -0000
@@ -88,6 +88,10 @@ function taxonomy_feeds_set_target(&$nod
   }
 
   if ($vocabulary->tags) {
+    foreach ($terms as $k => $v) {
+      // Make sure there aren't any terms with a comma (=tag delimiter) in it.
+      $terms[$k] = preg_replace('/\s*,\s*/', ' ', $v);
+    }
     // Simply add a comma separated list to the node for a "tags" vocabulary.
     $terms = array_merge($terms, drupal_explode_tags($node->taxonomy['tags'][$vocabulary->vid]));
     $node->taxonomy['tags'][$vocabulary->vid] = implode(',', $terms);
