mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
fixed a small bug related to closing wiki-tag
This commit is contained in:
parent
2ec58f7fa2
commit
8ed364ed72
@ -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({
|
||||
|
Loading…
Reference in New Issue
Block a user