mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
pkg_details: Translate special characters to html entities in package description.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
92b19e78ac
commit
075ca25f02
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ $submitted_time = ($row["SubmittedTS"] == 0) ? "(unknown)" : gmdate("r", intval(
|
|||
<p>
|
||||
<span class='f2'><?php echo $row['Name'] . ' ' . $row['Version'] ?></span><br />
|
||||
<span class='f3'><a href="<?php echo $row['URL'] . '">' . $row['URL'] ?></a></span><br />
|
||||
<span class='f3'><?php echo $row["Description"]; ?></span>
|
||||
<span class='f3'><?php echo htmlspecialchars($row['Description'], ENT_QUOTES); ?></span>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Add table
Reference in a new issue