We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c34c918 commit 7e95b52Copy full SHA for 7e95b52
src/index.ts
@@ -1316,7 +1316,7 @@ export default class PluginFootnote extends Plugin {
1316
Array.from(footnoteIds).map(async footnoteId => {
1317
let footnoteBlock = (await getBlockDOM(footnoteId)).dom;
1318
if (footnoteBlock) {
1319
- footnoteBlock = footnoteBlock.replace(/(<span data-type=".*?custom-footnote-index[^>]*>)\[\d+\](<\/span>)/g, '$1${this.i18n.indexAnchor}$2');
+ footnoteBlock = footnoteBlock.replace(/(<span data-type=".*?custom-footnote-index[^>]*>)\[\d+\](<\/span>)/g, `$1${this.i18n.indexAnchor}$2`);
1320
}
1321
updateBlock("dom", footnoteBlock, footnoteId);
1322
// return setBlockAttrs(footnoteId, { "name": "" });
0 commit comments