diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-10-26 17:50:13 +0100 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-10-26 17:50:13 +0100 |
commit | 075ca25f02175c2cb629628821e8e150c383f569 (patch) | |
tree | 4f56683d7d2303bfe0551c8a71defb898dfd0be9 /web/template | |
parent | 92b19e78ac4e21d9a3b9022198a118d8dc13f5d4 (diff) | |
download | aur-075ca25f02175c2cb629628821e8e150c383f569.tar.gz aur-075ca25f02175c2cb629628821e8e150c383f569.tar.xz |
pkg_details: Translate special characters to html entities in package description.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_details.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 3677d973..9c76ab39 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -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> |