Run showdown output through sanitize

This commit is contained in:
Cohee1207 2023-07-25 00:07:52 +03:00
parent e15c739e64
commit 83cb3456fc
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}