summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-04-14 02:44:38 +0000
committerpjmattal <pjmattal>2005-04-14 02:44:38 +0000
commit2c6ca1126add93e50ae68bcf084cd5aadfdf271f (patch)
tree6e1567a6736089f51306e7bf77bb1020d08d5742 /web
parent1c4d6432ba3179cbd5e7fd5d2863bf5d943e8ab4 (diff)
downloadaurweb-2c6ca1126add93e50ae68bcf084cd5aadfdf271f.tar.xz
changed <pre> to <code> in comment rendering to allow wrapping
Diffstat (limited to 'web')
-rw-r--r--web/lib/pkgfuncs.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc
index 365f05a..3c72f8a 100644
--- a/web/lib/pkgfuncs.inc
+++ b/web/lib/pkgfuncs.inc
@@ -402,9 +402,9 @@ function package_details($id=0) {
"<i>",date("Ymd [H:i:s]",$carr["CommentTS"]),"</i>"));
print "</span>";
print "<tr><td class='boxSoft'>";
- print "<pre>\n";
+ print "<code>\n";
print str_replace('"',"&quot;", stripslashes($carr["Comments"]));
- print "</pre>\n";
+ print "</code>\n";
print "</td></tr>\n";
print "</table>\n";
print " </td>\n";