Relax requirement for newline after macro definition

print-window-tiddler
Jermolene 2014-08-07 16:00:20 +01:00
rodzic 7528f3d3cd
commit 5260899d8b
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -58,7 +58,7 @@ exports.parse = function() {
var reEnd;
if(this.match[3]) {
// If so, the end of the body is marked with \end
reEnd = /(\r?\n\\end\r?\n)/mg;
reEnd = /(\r?\n\\end(?:$|\r?\n))/mg;
} else {
// Otherwise, the end of the definition is marked by the end of the line
reEnd = /(\r?\n)/mg;