summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc
diff options
context:
space:
mode:
authorpjmattal <pjmattal>2005-04-14 04:44:38 +0200
committerpjmattal <pjmattal>2005-04-14 04:44:38 +0200
commit2c6ca1126add93e50ae68bcf084cd5aadfdf271f (patch)
tree6e1567a6736089f51306e7bf77bb1020d08d5742 /web/lib/pkgfuncs.inc
parent1c4d6432ba3179cbd5e7fd5d2863bf5d943e8ab4 (diff)
downloadaur-2c6ca1126add93e50ae68bcf084cd5aadfdf271f.tar.gz
aur-2c6ca1126add93e50ae68bcf084cd5aadfdf271f.tar.xz
changed <pre> to <code> in comment rendering to allow wrapping
Diffstat (limited to 'web/lib/pkgfuncs.inc')
-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 365f05ac..3c72f8a6 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";