diff options
author | pjmattal <pjmattal> | 2005-04-14 04:44:38 +0200 |
---|---|---|
committer | pjmattal <pjmattal> | 2005-04-14 04:44:38 +0200 |
commit | 2c6ca1126add93e50ae68bcf084cd5aadfdf271f (patch) | |
tree | 6e1567a6736089f51306e7bf77bb1020d08d5742 | |
parent | 1c4d6432ba3179cbd5e7fd5d2863bf5d943e8ab4 (diff) | |
download | aur-2c6ca1126add93e50ae68bcf084cd5aadfdf271f.tar.gz aur-2c6ca1126add93e50ae68bcf084cd5aadfdf271f.tar.xz |
changed <pre> to <code> in comment rendering to allow wrapping
-rw-r--r-- | web/lib/pkgfuncs.inc | 4 |
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('"',""", stripslashes($carr["Comments"])); - print "</pre>\n"; + print "</code>\n"; print "</td></tr>\n"; print "</table>\n"; print " </td>\n"; |