mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
Fix wiki based tests with Windows-style line endings
This commit is contained in:
parent
0716ed4c30
commit
f22e047fa2
@ -51,7 +51,7 @@ describe("Wiki-based tests", function() {
|
||||
});
|
||||
|
||||
function readMultipleTiddlersTiddler(title) {
|
||||
var rawTiddlers = $tw.wiki.getTiddlerText(title).split("\n+\n");
|
||||
var rawTiddlers = $tw.wiki.getTiddlerText(title).split("\r?\n+\r?\n");
|
||||
var tiddlers = [];
|
||||
$tw.utils.each(rawTiddlers,function(rawTiddler) {
|
||||
var fields = Object.create(null),
|
||||
|
Loading…
Reference in New Issue
Block a user