mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Sex update
This commit is contained in:
@ -787,6 +787,10 @@ function messageFormating(mes, ch_name, isSystem, forceAvatar) {
|
||||
mes = mes.replace(/{.*}/g, "");
|
||||
mes = mes.replace(/\n/g, "<br/>");
|
||||
mes = mes.trim();
|
||||
|
||||
mes = mes.replace(/<code>[\s\S]*?<\/code>/g, function(match) {
|
||||
return match.replace(/&/g, '&');
|
||||
});
|
||||
}
|
||||
|
||||
if (forceAvatar) {
|
||||
|
Reference in New Issue
Block a user