Index: includes/mail.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/mail.inc,v
retrieving revision 1.8.2.4
diff -u -p -r1.8.2.4 mail.inc
--- includes/mail.inc	6 Oct 2008 11:04:08 -0000	1.8.2.4
+++ includes/mail.inc	11 Dec 2008 19:59:53 -0000
@@ -326,7 +326,7 @@ function drupal_html_to_text($string, $a
           $indent[] = count($lists) ? ' "' : '>';
           break;
         case 'li':
-          $indent[] = is_numeric($lists[0]) ? ' '. $lists[0]++ .') ' : ' * ';
+          $indent[] = is_numeric($lists[0]) ? ' '. (preg_match('/\bvalue\s*=\s*([\'"]?)([0-9]+)\b/i',$value,$matches) ? ($lists[0] = $matches[2] + 1) - 1 : $lists[0]++ ) .') ' : ' * ';
           break;
         case 'dd':
           $indent[] = '    ';
