--- php-typogrify.php	2007-07-10 02:20:01.000000000 +0200
+++ php-typogrify.fix.php	2008-04-11 00:01:20.000000000 +0200
@@ -205,12 +205,12 @@ function initial_quotes( $text )
  */
 function widont( $text )
 {
-    $widont_finder = "/(\s+)                                 # the space to replace
-                    ([^<>\s]+                               # must be flollowed by non-tag non-space characters
-                    \s*                                     # optional white space! 
-                    (<\/(a|em|span|strong|i|b)[^>]*>\s*)*    # optional closing inline tags with optional white space after each
-                    (<\/(p|h[1-6]|li)|$))                    # end with a closing p, h1-6, li or the end of the string
-                    /x";
+    $widont_finder = "/(\s+)                                  # the space to replace
+                      ([^<>\s]+                               # must be flollowed by non-tag non-space characters
+                      \s*                                     # optional white space! 
+                      (<\/(a|em|span|strong|i|b)[^>]*>\s*)*   # optional closing inline tags with optional white space after each
+                      ((<\/(p|h[1-6]|li|dt|dd)>)|$))          # end with a closing p, h1-6, li or the end of the string
+                      /x";
                     
     return preg_replace($widont_finder, '&nbsp;\\2', $text);
 }
@@ -262,4 +262,4 @@ if ( isset($wp_version) ) 
     add_filter('wp_title', 'strip_tags');
 }
 
-?>
\ No newline at end of file
+?>
