Incomplete comment patch. FS 7968, 5128, 7383.

Properly parse comments from database.
Thanks to Thralas for input.

Signed-off-by: tardo <tardo@nagi-fanboi.net>
This commit is contained in:
tardo 2007-09-22 17:01:40 -04:00
parent 988ecc442c
commit 6a39da70fb

View file

@ -568,7 +568,7 @@ function package_details($id=0, $SID="") {
print "</span>";
print "<tr><td class='boxSoft'>";
print "<code>\n";
print str_replace("\n", "<br>", str_replace('"',"&quot;", htmlspecialchars(strip_tags(stripslashes($carr["Comments"])))));
print nl2br(htmlspecialchars($carr["Comments"]));
print "</code>\n";
print "</td></tr>\n";
print "</table>\n";