ui-summary: use html_url_path()

This makes the clone urls be properly escaped.

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
lh/pretty-blob-view
Lars Hjemli 16 years ago
parent 24d4bb3058
commit 0071aa8612

@ -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");

Loading…
Cancel
Save