diff --git a/public/scripts/showdown-underscore.js b/public/scripts/showdown-underscore.js index 10ea68b63..d9125c97a 100644 --- a/public/scripts/showdown-underscore.js +++ b/public/scripts/showdown-underscore.js @@ -8,16 +8,16 @@ export const markdownUnderscoreExt = () => { return [{ type: 'lang', - regex: new RegExp('(`{3})[\\s\\S]*?\\1|(`{1,2}).*?\\2|\\b(?' + italicContent + ''; } - // If neither condition is met, return the original match + // If none of the conditions are met, return the original match return match; }, }];