1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-03 07:18:06 +00:00

Extend .tid files to allow single line text fields

To make it easier to create tiddlers that don’t include a terminating
newline in their text
This commit is contained in:
Jermolene
2014-05-13 10:27:03 +01:00
parent b77d5f9725
commit 4e07b3335b
2 changed files with 10 additions and 4 deletions

View File

@@ -1166,8 +1166,6 @@ $tw.modules.define("$:/boot/tiddlerdeserializer/tid","tiddlerdeserializer",{
}
if(split.length >= 2) {
fields.text = split.slice(1).join("\n\n");
} else {
fields.text = "";
}
return [fields];
}