mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-21 10:20:58 -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>';
|
$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;
|
return $str;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user