mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 00:47:42 +01:00
Run showdown output through sanitize
This commit is contained in:
parent
e15c739e64
commit
83cb3456fc
@ -1225,6 +1225,9 @@ function messageFormatting(mes, ch_name, isSystem, isUser) {
|
||||
//console.log('mes after removed <tags>')
|
||||
//console.log(mes)
|
||||
} */
|
||||
|
||||
mes = DOMPurify.sanitize(mes);
|
||||
|
||||
return mes;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user