Commit d29a7a5a authored by Loui Chang's avatar Loui Chang
Browse files

pkg_search_results: Translate special characters to html entities.


Reported-by: default avatarCedric Staniewski <cedric@gmx.ca>
Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 075ca25f
...@@ -67,7 +67,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { ...@@ -67,7 +67,7 @@ for ($i = 0; $row = mysql_fetch_assoc($result); $i++) {
<?php endif; ?> <?php endif; ?>
<?php endif; ?> <?php endif; ?>
<td class='<?php print $c ?>'><span class='f4'><span class='blue'> <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'> <td class='<?php print $c ?>'><span class='f5'><span class='blue'>
<?php if (isset($row["Maintainer"])): ?> <?php if (isset($row["Maintainer"])): ?>
<a href='packages.php?K=<?php print $row['Maintainer'] ?>&amp;SeB=m'><?php print $row['Maintainer'] ?></a> <a href='packages.php?K=<?php print $row['Maintainer'] ?>&amp;SeB=m'><?php print $row['Maintainer'] ?></a>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment