Enable quote blocks and HTML comments
This commit is contained in:
parent
ef8aef7994
commit
6ddfcc7a06
|
@ -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, "<b>$1</b>")
|
||||
|
|
Loading…
Reference in New Issue