Replace … with (#2973)

I think it is clearer if we don't use the HTML entity.

Co-authored-by: Karsten Hassel <hassel@gmx.de>
This commit is contained in:
Kristjan ESPERANTO
2022-12-10 21:50:56 +01:00
committed by GitHub
parent a2624442cc
commit 3124b0a9c5
45 changed files with 49 additions and 48 deletions

View File

@@ -814,7 +814,7 @@ Module.register("calendar", {
line++;
if (line > maxTitleLines - 1) {
if (i < words.length) {
currentLine += "&hellip;";
currentLine += "";
}
break;
}
@@ -831,7 +831,7 @@ Module.register("calendar", {
return (temp + currentLine).trim();
} else {
if (maxLength && typeof maxLength === "number" && string.length > maxLength) {
return string.trim().slice(0, maxLength) + "&hellip;";
return string.trim().slice(0, maxLength) + "";
} else {
return string.trim();
}