Index: handlers/views_handler_field.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/handlers/views_handler_field.inc,v
retrieving revision 1.14.2.26
diff -u -r1.14.2.26 views_handler_field.inc
--- handlers/views_handler_field.inc	11 Mar 2010 00:52:58 -0000	1.14.2.26
+++ handlers/views_handler_field.inc	12 Mar 2010 02:00:52 -0000
@@ -510,6 +510,10 @@
       $value = $this->render_trim_text($alter, $value);
     }
 
+    if (!empty($alter['strip_tags'])) {
+      $value = strip_tags($value);
+    }
+
     if (!empty($alter['make_link']) && !empty($alter['path'])) {
       if (!isset($tokens)) {
        $tokens = $this->get_render_tokens($alter);
@@ -543,22 +547,20 @@
       $this->definition['element type'] = 'span';
     }
 
-    if (drupal_strlen($value) <= $alter['max_length']) {
-      return $value;
-    }
-
-    $value = drupal_substr($value, 0, $alter['max_length']);
+    if (drupal_strlen($value) > $alter['max_length']) {
+      $value = drupal_substr($value, 0, $alter['max_length']);
 
-    if (!empty($alter['word_boundary'])) {
-      if (preg_match("/(.*)\b.+/us", $value, $matches)) {
-        $value = $matches[1];
+      if (!empty($alter['word_boundary'])) {
+        if (preg_match("/(.*)\b.+/us", $value, $matches)) {
+          $value = $matches[1];
+        }
       }
-    }
-    // Remove scraps of HTML entities from the end of a strings
-    $value = rtrim(preg_replace('/(?:<(?!.+>)|&(?!.+;)).*$/us', '', $value));
+      // Remove scraps of HTML entities from the end of a strings
+      $value = rtrim(preg_replace('/(?:<(?!.+>)|&(?!.+;)).*$/us', '', $value));
 
-    if (!empty($alter['ellipsis'])) {
-      $value .= '&#8230;';
+      if (!empty($alter['ellipsis'])) {
+        $value .= '&#8230;';
+      }
     }
 
     if (!empty($alter['html'])) {
