mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-01 20:06:59 +01:00
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);
|
mes = fixMarkdown(mes);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this_chid != undefined && !isSystem)
|
//if (this_chid != undefined && !isSystem)
|
||||||
mes = mes.replaceAll("<", "<").replaceAll(">", ">"); //for welcome message
|
// mes = mes.replaceAll("<", "<").replaceAll(">", ">"); //for welcome message
|
||||||
if ((this_chid === undefined || this_chid === "invalid-safety-id") && !selected_group) {
|
if ((this_chid === undefined || this_chid === "invalid-safety-id") && !selected_group) {
|
||||||
mes = mes
|
mes = mes
|
||||||
.replace(/\*\*(.+?)\*\*/g, "<b>$1</b>")
|
.replace(/\*\*(.+?)\*\*/g, "<b>$1</b>")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user