mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-01 03:56:52 +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:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user