Commit 075ca25f authored by Loui Chang's avatar Loui Chang
Browse files

pkg_details: Translate special characters to html entities in package description.


Signed-off-by: default avatarLoui Chang <louipc.ist@gmail.com>
parent 92b19e78
......@@ -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>
......
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