Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

feat: remove 120 character headline limit

thecodrr6c8fcc5bb09c
diff --git a/packages/core/content-types/tiny.js b/packages/core/content-types/tiny.js
index 0a247ceed..7f9cc1c62 100644
--- a/packages/core/content-types/tiny.js
+++ b/packages/core/content-types/tiny.js
@@ -67,8 +67,7 @@ function getHeadlineFromText(text) {
char === "\n" ||
char === "\t" ||
char === "\r" ||
- (char === "." && nextChar === " ") ||
- i >= 120
+ (char === "." && nextChar === " ")
) {
if (char === ".") ++i;
return text.substring(0, i);