diff -rupN taxonomy_formatter/README.txt taxonomy_formatter.new/README.txt
--- taxonomy_formatter/README.txt	2012-12-20 00:50:09.000000000 +0100
+++ taxonomy_formatter.new/README.txt	2013-09-01 19:36:09.753034577 +0200
@@ -1,12 +1,12 @@
-README.txt
-==========
-
-The module adds a formatter for taxonomy terms that allows for selecting elements, wrappers, and classes for both, along with support for custom separators.
+README.txt
+==========
 
-Enable the module, then browse to a content type and use Delimited as the formatter.  You will then see a gear button that will allow you to change the settings, per field.
-
-
-AUTHOR/MAINTAINER
-======================
-Author: Dan Linn
-Maintainer: Dan Linn (http://drupal.org/user/566584)
+The module adds a formatter for taxonomy terms that allows for selecting elements, wrappers, and classes for both, along with support for custom separators and a title attribute (which will be set to the taxonomy term description).
+
+Enable the module, then browse to a content type and use Delimited as the formatter.  You will then see a gear button that will allow you to change the settings, per field.
+
+
+AUTHOR/MAINTAINER
+======================
+Author: Dan Linn
+Maintainer: Dan Linn (http://drupal.org/user/566584)
diff -rupN taxonomy_formatter/taxonomy_formatter.info taxonomy_formatter.new/taxonomy_formatter.info
--- taxonomy_formatter/taxonomy_formatter.info	2012-12-20 00:58:43.000000000 +0100
+++ taxonomy_formatter.new/taxonomy_formatter.info	2013-09-01 19:55:17.483957115 +0200
@@ -1,5 +1,5 @@
 name = Taxonomy Formatter
-description = "Add a formatter to taxonomy terms that allows selection of element type, wrapper type, and separators."
+description = "Add a formatter to taxonomy terms that allows selection of element type, title attribute, wrapper type, and separators."
 package = Fields
 core = 7.x
 files[] = taxonomy_formatter.module
@@ -9,4 +9,3 @@ version = "7.x-1.4"
 core = "7.x"
 project = "taxonomy_formatter"
 datestamp = "1355961523"
-
diff -rupN taxonomy_formatter/taxonomy_formatter.module taxonomy_formatter.new/taxonomy_formatter.module
--- taxonomy_formatter/taxonomy_formatter.module	2012-12-20 00:50:09.000000000 +0100
+++ taxonomy_formatter.new/taxonomy_formatter.module	2013-09-01 19:53:26.259204537 +0200
@@ -1,7 +1,8 @@
 <?php
 /**
  * @file
- * adds a formatter for taxonomy terms with options to specify element type, wrapper type, and separators
+ * adds a formatter for taxonomy terms with options to specify
+ * element type, title attribute, wrapper type, and separators
  *
  */
 /**
@@ -15,7 +16,8 @@ function taxonomy_formatter_field_format
       'settings'  => array(
         'links_option' => FALSE,
         'separator_option' => ', ',
-        'element_option' => '- None -',
+        'title_attribute_option' => FALSE,
+	'element_option' => '- None -',
         'wrapper_option' => '- None -',
         'element_class' => '',
         'wrapper_class' => '',
@@ -65,6 +67,14 @@ function taxonomy_formatter_field_format
     '#description'    => t('The class assigned to the element'),
     '#default_value'  => $settings['element_class'],
   );
+  $element['title_attribute_option'] = array(
+    '#type'           => 'checkbox',
+    '#title'          => t('Title attribute'),
+    '#description'    => t('When checked the taxonomy term description
+                            will be set as the title attribute in the
+                            element wrapper.'),
+    '#default_value'  => $settings['title_attribute_option'],
+  );
   $element['wrapper_option'] = array(
     '#type'           => 'select',
     '#title'          => t('Wrapper'),
@@ -107,6 +117,10 @@ function taxonomy_formatter_field_format
     if (!empty($settings['element_class'])) {
       $summary .= t(' with the class of @elemclass', array('@elemclass' => $settings['element_class']));
     }
+    if ($settings['title_attribute_option']) {
+      $summary .= t('<br>The title attribute of the element wrapper
+                     will be set to the taxonomy term description');
+    }
   }
   if ($settings['wrapper_option']!="- None -") {
     $summary .= t('<br>The entire list will be wrapped in a "@wrapper" tag', array('@wrapper' => $settings['wrapper_option']));
@@ -124,8 +138,13 @@ function taxonomy_formatter_field_format
   $element = array();
   $separator = check_plain($settings['separator_option']);
   if ($settings['element_option']!='- None -') {
-    $elementwrap[0] = '<' . $settings['element_option'] . ' class="' . check_plain($settings['element_class']) . '">';
-    $elementwrap[1] = '</' . $settings['element_option'] . '>';
+    if ($settings['title_attribute_option']) {
+      $elementwrap[0] = '<' . $settings['element_option'] . ' class="' . check_plain($settings['element_class']) . '" title="@term-description">';
+    }
+    else {
+      $elementwrap[0] = '<' . $settings['element_option'] . ' class="' . check_plain($settings['element_class']) . '">';
+    }
+  $elementwrap[1] = '</' . $settings['element_option'] . '>';
   }
   else {
     $elementwrap[0] = '';
@@ -146,11 +165,14 @@ function taxonomy_formatter_field_format
     $actterm = entity_load('taxonomy_term', $term);
     if(isset($actterm[$termid])) {
       $uri = entity_uri('taxonomy_term', $actterm[$termid]);
+      $elementwrap[2] = str_replace('@term-description',
+        t($actterm[$termid]->description),
+        $elementwrap[0]);
       if ($settings['links_option']) {
-        $formatted .= $elementwrap[0] . l($actterm[$termid]->name, $uri['path'], $uri['options']) . $elementwrap[1] . $separator;
+        $formatted .= $elementwrap[2] . l($actterm[$termid]->name, $uri['path'], $uri['options']) . $elementwrap[1] . $separator;
       }
       else {
-        $formatted .= $elementwrap[0] . check_plain($actterm[$termid]->name) . $elementwrap[1] . $separator;
+        $formatted .= $elementwrap[2] . check_plain($actterm[$termid]->name) . $elementwrap[1] . $separator;
       }
     }
   }
@@ -159,4 +181,4 @@ function taxonomy_formatter_field_format
   $formatted = $wrapper[0] . $formatted . $wrapper[1];
   $element[0]['#markup'] = $formatted;
   return $element;
-}
\ Kein Zeilenumbruch am Dateiende.
+}
