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
_______________________________________________
CGit mailing list
[email protected]
https://lists.zx2c4.com/mailman/listinfo/cgit