From 81cc2977b8dead5482eff1e95d8d3b4fab6f5193 Mon Sep 17 00:00:00 2001 From: MathMan05 Date: Thu, 5 Sep 2024 12:08:09 -0500 Subject: [PATCH] fix MD link bug --- .dist/markdown.js | 2 +- webpage/markdown.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.dist/markdown.js b/.dist/markdown.js index cd445b1..6e3fd25 100644 --- a/.dist/markdown.js +++ b/.dist/markdown.js @@ -416,8 +416,8 @@ class MarkDown { a.target = "_blank"; i = j; span.appendChild(a); + continue; } - continue; } if (txt[i] === "<" && txt[i + 1] === "t" && txt[i + 2] === ":") { let found = false; diff --git a/webpage/markdown.ts b/webpage/markdown.ts index dc86550..5644045 100644 --- a/webpage/markdown.ts +++ b/webpage/markdown.ts @@ -408,8 +408,9 @@ class MarkDown{ a.target="_blank"; i=j; span.appendChild(a); + continue; } - continue; + } if(txt[i]==="<" && txt[i + 1]==="t" && txt[i + 2]===":"){ let found=false;