Fix truncate

This commit is contained in:
Jon Staab
2025-04-25 17:19:56 -07:00
parent b3e8d7a332
commit 1e3fca4da7
+1 -1
View File
@@ -425,7 +425,7 @@ export const truncate = (
if (currentSize > minLength) { if (currentSize > minLength) {
content = content content = content
.slice(0, Math.max(1, i)) .slice(0, Math.max(1, i + 1))
.concat({type: ParsedType.Ellipsis, value: "…", raw: ""}) .concat({type: ParsedType.Ellipsis, value: "…", raw: ""})
return false return false