Skip to content

Commit 7e95b52

Browse files
committed
🔖 v1.2.2
1 parent c34c918 commit 7e95b52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1316,7 +1316,7 @@ export default class PluginFootnote extends Plugin {
13161316
Array.from(footnoteIds).map(async footnoteId => {
13171317
let footnoteBlock = (await getBlockDOM(footnoteId)).dom;
13181318
if (footnoteBlock) {
1319-
footnoteBlock = footnoteBlock.replace(/(<span data-type=".*?custom-footnote-index[^>]*>)\[\d+\](<\/span>)/g, '$1${this.i18n.indexAnchor}$2');
1319+
footnoteBlock = footnoteBlock.replace(/(<span data-type=".*?custom-footnote-index[^>]*>)\[\d+\](<\/span>)/g, `$1${this.i18n.indexAnchor}$2`);
13201320
}
13211321
updateBlock("dom", footnoteBlock, footnoteId);
13221322
// return setBlockAttrs(footnoteId, { "name": "" });

0 commit comments

Comments
 (0)