From f8dbe262c72eb3bb11a56e399ab5f668d253f739 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Sun, 18 Aug 2024 14:22:31 +0300 Subject: [PATCH] Fix for single backticks with line breaks --- public/scripts/showdown-underscore.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/scripts/showdown-underscore.js b/public/scripts/showdown-underscore.js index d9125c97a..08f0d5aa4 100644 --- a/public/scripts/showdown-underscore.js +++ b/public/scripts/showdown-underscore.js @@ -8,10 +8,10 @@ export const markdownUnderscoreExt = () => { return [{ type: 'lang', - regex: /(`{3,})\s*\n[\s\S]*?\n\1(?:\n|$)|(`{1,2}).*?\2|(?