mirror of
https://github.com/Jermolene/TiddlyWiki5.git
synced 2025-12-06 02:30:46 -08:00
Correct fix for Windows line endings in wiki based tests
This commit is contained in:
parent
862cb01be7
commit
d1c7f79dd2
1 changed files with 1 additions and 1 deletions
|
|
@ -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/mg);
|
||||
var tiddlers = [];
|
||||
$tw.utils.each(rawTiddlers,function(rawTiddler) {
|
||||
var fields = Object.create(null),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue