Enable quote blocks and HTML comments

This commit is contained in:
Cohee1207 2023-08-05 12:29:37 +03:00
parent ef8aef7994
commit 6ddfcc7a06
1 changed files with 2 additions and 2 deletions

View File

@ -1252,8 +1252,8 @@ function messageFormatting(mes, ch_name, isSystem, isUser) {
mes = fixMarkdown(mes);
}
if (this_chid != undefined && !isSystem)
mes = mes.replaceAll("<", "&lt;").replaceAll(">", "&gt;"); //for welcome message
//if (this_chid != undefined && !isSystem)
// mes = mes.replaceAll("<", "&lt;").replaceAll(">", "&gt;"); //for welcome message
if ((this_chid === undefined || this_chid === "invalid-safety-id") && !selected_group) {
mes = mes
.replace(/\*\*(.+?)\*\*/g, "<b>$1</b>")