diff options
-rw-r--r-- | web/lib/pkgfuncs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index bb04929..c0627ac 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -403,7 +403,7 @@ function package_details($id=0) { print "</span>"; print "<tr><td class='boxSoft'>"; print "<code>\n"; - print str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"])))); + print str_replace("\n", "<br>", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"]))))); print "</code>\n"; print "</td></tr>\n"; print "</table>\n"; |