| 
 | 1 | +diff --git a/dist/index.cjs b/dist/index.cjs  | 
 | 2 | +index 80d21bbf699310538dbb0a5c1b063b0716706fc4..53f8dab5fc21920fe90891260c672902f91573c8 100644  | 
 | 3 | +--- a/dist/index.cjs  | 
 | 4 | ++++ b/dist/index.cjs  | 
 | 5 | +@@ -366,11 +366,12 @@ function fromMarkdown() {  | 
 | 6 | +     current.data.alias = alias;  | 
 | 7 | +   }  | 
 | 8 | +   function exitWikiLink(token) {  | 
 | 9 | +-    var wikiLink = this.exit(token);  | 
 | 10 | ++    var wikiLink = top(this.stack);  | 
 | 11 | +     var _wikiLink$data = wikiLink.data,  | 
 | 12 | +       isEmbed = _wikiLink$data.isEmbed,  | 
 | 13 | +       target = _wikiLink$data.target,  | 
 | 14 | +       alias = _wikiLink$data.alias;  | 
 | 15 | ++    this.exit(token);  | 
 | 16 | +     // eslint-disable-next-line no-useless-escape  | 
 | 17 | +     var wikiLinkWithHeadingPattern = /^((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)(#(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/;  | 
 | 18 | +     var _target$match = target.match(wikiLinkWithHeadingPattern),  | 
 | 19 | +diff --git a/dist/index.js b/dist/index.js  | 
 | 20 | +index 8cee892269bb0768d9be4f3f6407a59e3b56af40..680381cfac8489242cafb577f2044507004398fb 100644  | 
 | 21 | +--- a/dist/index.js  | 
 | 22 | ++++ b/dist/index.js  | 
 | 23 | +@@ -357,11 +357,12 @@ function fromMarkdown() {  | 
 | 24 | +     current.data.alias = alias;  | 
 | 25 | +   }  | 
 | 26 | +   function exitWikiLink(token) {  | 
 | 27 | +-    var wikiLink = this.exit(token);  | 
 | 28 | ++    var wikiLink = top(this.stack);  | 
 | 29 | +     var _wikiLink$data = wikiLink.data,  | 
 | 30 | +       isEmbed = _wikiLink$data.isEmbed,  | 
 | 31 | +       target = _wikiLink$data.target,  | 
 | 32 | +       alias = _wikiLink$data.alias;  | 
 | 33 | ++    this.exit(token);  | 
 | 34 | +     // eslint-disable-next-line no-useless-escape  | 
 | 35 | +     var wikiLinkWithHeadingPattern = /^((?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*?)(#(?:[\0-\t\x0B\f\x0E-\u2027\u202A-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/;  | 
 | 36 | +     var _target$match = target.match(wikiLinkWithHeadingPattern),  | 
0 commit comments