diff --git a/src/transform/plugins/anchors/index.ts b/src/transform/plugins/anchors/index.ts index 83b86f86..7d515502 100644 --- a/src/transform/plugins/anchors/index.ts +++ b/src/transform/plugins/anchors/index.ts @@ -171,7 +171,7 @@ const index: MarkdownItPluginCb = (md, options) => { } md.renderer.rules.anchor_hidden_desc = function (tokens, index) { - return '' + escapeHtml(tokens[index].content) + ''; + return '' + escapeHtml(tokens[index].content) + ''; }; };