1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-25 19:17:19 +00:00

Revert "Fix wiki based tests with Windows-style line endings"

This reverts commit f22e047fa2.
This commit is contained in:
Jeremy Ruston 2023-11-24 10:41:23 +00:00
parent f22e047fa2
commit 862cb01be7

View File

@ -51,7 +51,7 @@ describe("Wiki-based tests", function() {
});
function readMultipleTiddlersTiddler(title) {
var rawTiddlers = $tw.wiki.getTiddlerText(title).split("\r?\n+\r?\n");
var rawTiddlers = $tw.wiki.getTiddlerText(title).split("\n+\n");
var tiddlers = [];
$tw.utils.each(rawTiddlers,function(rawTiddler) {
var fields = Object.create(null),