mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 07:20:56 -04:00
Encode names in history sidebar
This commit is contained in:
parent
d90ab5bb53
commit
a343e044d4
@ -183,7 +183,7 @@ class HistoryUtils
|
||||
}
|
||||
|
||||
$icon = '<i class="fa fa-' . EntityModel::getIcon($item->entityType . 's') . '" style="width:24px"></i>';
|
||||
$str .= sprintf('<li style="text-align:right; padding-right:18px;"><a href="%s">%s %s</a></li>', $item->url, $item->name, $icon);
|
||||
$str .= sprintf('<li style="text-align:right; padding-right:18px;"><a href="%s">%s %s</a></li>', $item->url, e($item->name), $icon);
|
||||
}
|
||||
|
||||
return $str;
|
||||
|
Loading…
x
Reference in New Issue
Block a user