mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-10-31 21:33:00 +00:00
page-credits: htmlentities *everywhere*
This commit is contained in:
parent
4dda12d195
commit
54166c9b79
1 changed files with 3 additions and 3 deletions
|
@ -122,10 +122,10 @@ register_module([
|
|||
foreach($credits as $thing => $author_details)
|
||||
{
|
||||
$credits_html .= " <li>";
|
||||
$credits_html .= "<a href='" . $author_details["thing_url"] . "'>$thing</a> by ";
|
||||
$credits_html .= "<a href='" . htmlentities($author_details["thing_url"]) . "'>".htmlentities($thing)."</a> by ";
|
||||
if(isset($author_details["icon"]))
|
||||
$credits_html .= "<img class='logo small' style='vertical-align: middle;' src='" . $author_details["icon"] . "' /> ";
|
||||
$credits_html .= "<a href='" . $author_details["author_url"] . "'>" . $author_details["author"] . "</a>";
|
||||
$credits_html .= "<img class='logo small' style='vertical-align: middle;' src='" . htmlentities($author_details["icon"]) . "' /> ";
|
||||
$credits_html .= "<a href='" . htmlentities($author_details["author_url"]) . "'>" . $author_details["author"] . "</a>";
|
||||
$credits_html .= "</li>\n";
|
||||
}
|
||||
$credits_html .= "</ul>";
|
||||
|
|
Loading…
Reference in a new issue