Skip to content
This repository was archived by the owner on Oct 28, 2022. It is now read-only.

Commit d4fee8d

Browse files
committed
Revert newline fix, does not matter
1 parent 14bf599 commit d4fee8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ sf.parse = function(text) {
283283
}
284284

285285
// Format trailing breaklines and spaces
286-
text = text.replace(/(\n)+^/m, ""); // Remove start newlines
286+
text = text.replace(/^(\n| )+/gm, "");
287287
text = text.trim("\n"); // Trim last newlines
288288

289289
text = sf.parseMD(text);

0 commit comments

Comments
 (0)