fixed a small bug related to closing wiki-tag

print-window-tiddler
Stephan Hradek 2013-12-01 22:01:21 +01:00
rodzic 2ec58f7fa2
commit 8ed364ed72
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -69,10 +69,9 @@ exports.parse = function() {
// Move past the <s
this.parser.pos = this.matchRegExp.lastIndex;
// Parse any optional cite
this.parser.skipWhitespace({treatNewlinesAsNonWhitespace: true});
cite = this.parser.parseInlineRun(/(\r?\n)/mg);
var cite = this.parser.parseInlineRun(/(\r?\n)/mg);
// If we got a cite, push it
if ( cite.length > 0 ) {
tree.push({