diff --git a/index.js b/index.js index 15675a5..1a9a92f 100644 --- a/index.js +++ b/index.js @@ -31,6 +31,11 @@ async function clickLi(e) { content = content.slice(content.indexOf(';') + ';'.length, content.length); } + if (content[0] == '/') { + noExtend = true; + content = content.replaceAll(/ \[[^\[]+\]/g,''); + } + console.log(content) let delimiter = ';';