mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-26 08:58:09 +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 after removed <tags>')
|
||||||
//console.log(mes)
|
//console.log(mes)
|
||||||
} */
|
} */
|
||||||
|
|
||||||
|
mes = DOMPurify.sanitize(mes);
|
||||||
|
|
||||||
return mes;
|
return mes;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user