Merge pull request #67 from lindsayevans/master

Escaping HTML characters in user copyright property
This commit is contained in:
Remy Sharp 2011-10-19 15:47:27 -07:00
commit 6a83677af8

View file

@ -13,7 +13,7 @@
if (file_exists($user_file)) {
$user = json_decode(file_get_contents($user_file));
$holder = $user->copyright;
$holder = htmlentities($user->copyright);
if (property_exists($user, 'url')) {
$holder = '<a href="'.$user->url.'">' . $holder . '</a>';
}