Slight fix
This commit is contained in:
parent
6d583298bc
commit
d6c7202f31
1 changed files with 1 additions and 1 deletions
|
@ -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 ]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue