diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index bb049295..c0627ac0 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -403,7 +403,7 @@ function package_details($id=0) { print ""; print "
\n";
- print str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"]))));
+ print str_replace("\n", "
", str_replace('"',""", htmlspecialchars(strip_tags(stripslashes($carr["Comments"])))));
print "
\n";
print "