ui-summary: use html_url_path()

This makes the clone urls be properly escaped.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
Lars Hjemli 2008-10-05 21:21:42 +02:00
parent 24d4bb3058
commit 0071aa8612

View File

@ -24,7 +24,7 @@ static void print_url(char *base, char *suffix)
if (suffix && *suffix)
base = fmt("%s/%s", base, suffix);
html("<tr><td colspan='4'><a href='");
html_attr(base);
html_url_path(base);
html("'>");
html_txt(base);
html("</a></td></tr>\n");