Skip to content
Snippets Groups Projects
Commit 95195155 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Removed the <PRE></PRE>-tags from cvs.module to make the CVS log
  messages wrap nicely on all browsers.  (requested by Steven)
parent 3e4454bd
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -25,11 +25,11 @@ function cvs_page() { ...@@ -25,11 +25,11 @@ function cvs_page() {
$output .= "<b>File:</b> $cvs->files<br />"; $output .= "<b>File:</b> $cvs->files<br />";
$output .= "<b>Date:</b> ". format_date($cvs->timestamp) ."<br />"; $output .= "<b>Date:</b> ". format_date($cvs->timestamp) ."<br />";
$output .= "<b>User:</b> $cvs->user<br />"; $output .= "<b>User:</b> $cvs->user<br />";
$output .= "\n". htmlentities($cvs->message) ."<hr />"; $output .= "\n". nl2br(htmlentities($cvs->message)) ."<hr />";
} }
$theme->header(); $theme->header();
$theme->box("CVS commit messages", "<pre>$output</pre>"); $theme->box("CVS commit messages", "<div style=\"font-family: monospace;\">$output</div>");
$theme->footer(); $theme->footer();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment