Hello, I propose using ? instead of ... in the /repo/log output. Regards ????? diff --git a/ui-shared.c b/ui-shared.c --- a/ui-shared.c +++ b/ui-shared.c @@ -435,8 +435,8 @@ void cgit_commit_link(const char *name, const char *title, const char *class, html("'>"); if (name[0] != '\0') { if (strlen(name) > ctx.cfg.max_msg_len && ctx.cfg.max_msg_len >= 15) { - html_ntxt(name, ctx.cfg.max_msg_len - 3); - html("..."); + html_ntxt(name, ctx.cfg.max_msg_len - 1); + html("…"); } else html_txt(name); } else
This should be a response to an earlier message from ????? ????????, however I don't have the message to respond to. --- I agree with the intent of your patch, but not the implementation. Instead of using the Unicode character ? and thus depending on the C source file encoding as well as the HTML encoding, I suggest using the HTML entity … -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20190519/7a7c0d3b/attachment.html>