From 6ddfcc7a06d6217b36416643f49a966b9f31148c Mon Sep 17 00:00:00 2001 From: Cohee1207 Date: Sat, 5 Aug 2023 12:29:37 +0300 Subject: [PATCH] Enable quote blocks and HTML comments --- public/script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/script.js b/public/script.js index 7ea7458b1..f4d0b5672 100644 --- a/public/script.js +++ b/public/script.js @@ -1252,8 +1252,8 @@ function messageFormatting(mes, ch_name, isSystem, isUser) { mes = fixMarkdown(mes); } - if (this_chid != undefined && !isSystem) - mes = mes.replaceAll("<", "<").replaceAll(">", ">"); //for welcome message + //if (this_chid != undefined && !isSystem) + // mes = mes.replaceAll("<", "<").replaceAll(">", ">"); //for welcome message if ((this_chid === undefined || this_chid === "invalid-safety-id") && !selected_group) { mes = mes .replace(/\*\*(.+?)\*\*/g, "$1")