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