diff --git a/kallithea/lib/helpers.py b/kallithea/lib/helpers.py
--- a/kallithea/lib/helpers.py
+++ b/kallithea/lib/helpers.py
@@ -766,9 +766,9 @@ def action_parser(user_log, feed=False,
if len(x) > 1:
action, action_params = x
- tmpl = """"""
ico = action_map.get(action, ['', '', ''])[2]
- return literal(tmpl % (ico, action))
+ html = """""" % ico
+ return literal(html)
# returned callbacks we need to call to get
return [lambda: literal(action), action_params_func, action_parser_icon]