summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2001-05-14 07:26:08 +0000
committerDries Buytaert <dries@buytaert.net>2001-05-14 07:26:08 +0000
commit95195155206a8cbfa0f9b73ec1f2333ceb8dc95f (patch)
tree1f87ca30eabcfaf04789ac8c7792117a27acf292 /modules
parent3e4454bd9b88aa246ba9209a0546745763eaac3e (diff)
downloadbrdo-95195155206a8cbfa0f9b73ec1f2333ceb8dc95f.tar.gz
brdo-95195155206a8cbfa0f9b73ec1f2333ceb8dc95f.tar.bz2
- Removed the <PRE></PRE>-tags from cvs.module to make the CVS log
messages wrap nicely on all browsers. (requested by Steven)
Diffstat (limited to 'modules')
-rw-r--r--modules/cvs.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/cvs.module b/modules/cvs.module
index 71e7b5ce4..8aaf65b08 100644
--- a/modules/cvs.module
+++ b/modules/cvs.module
@@ -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();
}