From d6c7202f31c4dc6628f3ca3cb81855b2a171f4fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=83=9D=E3=83=BC=E3=83=AB=20=E3=82=A6=E3=82=A7=E3=83=83?= =?UTF-8?q?=E3=83=96?= Date: Wed, 25 Jul 2018 17:15:28 -0500 Subject: [PATCH] Slight fix --- modules/markdown-it-sup.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/markdown-it-sup.js b/modules/markdown-it-sup.js index 07584de..3dfa71f 100644 --- a/modules/markdown-it-sup.js +++ b/modules/markdown-it-sup.js @@ -58,7 +58,7 @@ function superscript(state, silent) { token.markup = "^"; if (content.match(regexForIds)) { - const theLink = supText.match(regexForIds)[0].replace("(", "").replace(")", ""); + const theLink = supText.match(regexForIds)[0].replace("(#", "").replace(")", ""); token.attrPush([ "id", theLink ]); }