mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
replaced \n with <br> as last step in comments transformation to avoid
problems with multi-line comments (thanks juergen@hoetzel.info)
This commit is contained in:
parent
e6ae7bcfbd
commit
bee72b2f2d
1 changed files with 1 additions and 1 deletions
|
@ -403,7 +403,7 @@ function package_details($id=0) {
|
||||||
print "</span>";
|
print "</span>";
|
||||||
print "<tr><td class='boxSoft'>";
|
print "<tr><td class='boxSoft'>";
|
||||||
print "<code>\n";
|
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 "</code>\n";
|
||||||
print "</td></tr>\n";
|
print "</td></tr>\n";
|
||||||
print "</table>\n";
|
print "</table>\n";
|
||||||
|
|
Loading…
Add table
Reference in a new issue