- Removed the <PRE></PRE>-tags from cvs.module to make the CVS log

messages wrap nicely on all browsers.  (requested by Steven)
3-00
Dries Buytaert 2001-05-14 07:26:08 +00:00
parent 3e4454bd9b
commit 9519515520
1 changed files with 2 additions and 2 deletions

View File

@ -25,11 +25,11 @@ function cvs_page() {
$output .= "<b>File:</b> $cvs->files<br />";
$output .= "<b>Date:</b> ". format_date($cvs->timestamp) ."<br />";
$output .= "<b>User:</b> $cvs->user<br />";
$output .= "\n". htmlentities($cvs->message) ."<hr />";
$output .= "\n". nl2br(htmlentities($cvs->message)) ."<hr />";
}
$theme->header();
$theme->box("CVS commit messages", "<pre>$output</pre>");
$theme->box("CVS commit messages", "<div style=\"font-family: monospace;\">$output</div>");
$theme->footer();
}