mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkg_search_results: Translate special characters to html entities.
Reported-by: Cedric Staniewski <cedric@gmx.ca> Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
075ca25f02
commit
d29a7a5a67
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
|
|||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<td class='<?php print $c ?>'><span class='f4'><span class='blue'>
|
||||
<?php print $row["Description"] ?></span></span></td>
|
||||
<?php print htmlspecialchars($row['Description'], ENT_QUOTES); ?></span></span></td>
|
||||
<td class='<?php print $c ?>'><span class='f5'><span class='blue'>
|
||||
<?php if (isset($row["Maintainer"])): ?>
|
||||
<a href='packages.php?K=<?php print $row['Maintainer'] ?>&SeB=m'><?php print $row['Maintainer'] ?></a>
|
||||
|
|
Loading…
Add table
Reference in a new issue