? .drush-cache.info
? includes/table.inc
Index: commands/pm/pm.drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/commands/pm/pm.drush.inc,v
retrieving revision 1.194
diff -u -p -r1.194 pm.drush.inc
--- commands/pm/pm.drush.inc	3 Jan 2011 05:48:08 -0000	1.194
+++ commands/pm/pm.drush.inc	3 Jan 2011 06:12:38 -0000
@@ -187,6 +187,9 @@ function pm_drush_command() {
     'arguments' => array(
       'projects' => 'A list of drupal.org project names, with optional version. Defaults to \'drupal\'',
     ),
+    'options' => array(
+      'html' => dt('Display releasenotes in HTML rather than plain text.'),
+    ),
     'examples' => array(
       'drush rln cck' => 'Prints the release notes for the recommended version of CCK project.',
       'drush rln token-1.13' => 'View release notes of a specfic version of the Token project for my version of Drupal.',
@@ -1442,8 +1445,13 @@ function _drush_pm_releasenotes($request
 <hr>
 ", array('!status' => $print_status ? $status_msg : '', '!name' => strtoupper($key), '!break' => $break, '!version' => $version, '!time' => $notes_last_update));
       // Finally we print the release notes for the requested project.
-      $print = drush_html_to_text($notes_header . $project_notes, array('br', 'p', 'ul', 'ol', 'li', 'hr'));
-      if (drush_drupal_major_version() < 7) { $print .= "\n"; }
+      if (drush_get_option('html', FALSE)) {
+        $print = $notes_header . $project_notes;
+      }
+      else {
+        $print = drush_html_to_text($notes_header . $project_notes, array('br', 'p', 'ul', 'ol', 'li', 'hr'));
+        if (drush_drupal_major_version() < 7) { $print .= "\n"; }
+      }
       file_put_contents($tmpfile, $print, FILE_APPEND);
     }
   }
Index: includes/drush.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/drush/includes/drush.inc,v
retrieving revision 1.184
diff -u -p -r1.184 drush.inc
--- includes/drush.inc	3 Jan 2011 05:48:08 -0000	1.184
+++ includes/drush.inc	3 Jan 2011 06:12:40 -0000
@@ -558,6 +558,7 @@ function drush_html_to_text($html, $allo
       '</h2>' => ' ----',
       '<h3>' => '::: ',
       '</h3>' => ' :::',
+      '<br/>' => "\n",
     );
     $text = str_replace(array_keys($replacements), array_values($replacements), $html);
     return preg_replace('/ *<[^>]*> */', ' ', $text);
