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…
Reference in New Issue