ui-refs: escape HTML chars in author and tagger names

Everywhere else we use html_txt to escape any special characters in
these variables.  Do so here as well.

Signed-off-by: John Keeping <john@keeping.me.uk>
这个提交包含在:
John Keeping 2014-01-12 19:45:15 +00:00 提交者 Jason A. Donenfeld
父节点 3d8a6507ca
当前提交 d1a6ece439
共有 1 个文件被更改,包括 2 次插入2 次删除

查看文件

@ -155,9 +155,9 @@ static int print_tag(struct refinfo *ref)
html("</td><td>");
if (info) {
if (info->tagger)
html(info->tagger);
html_txt(info->tagger);
} else if (ref->object->type == OBJ_COMMIT) {
html(ref->commit->author);
html_txt(ref->commit->author);
}
html("</td><td colspan='2'>");
if (info) {