diff --git a/js/base.php b/js/base.php index e6b184f..41d229e 100644 --- a/js/base.php +++ b/js/base.php @@ -294,6 +294,9 @@ const toast = { div.id = id; div.className = 'toast-container'; div.setAttribute('onclick', 'this.remove()'); + text = text.replaceAll('&','&').replaceAll('<','<').replaceAll('>','>'); + text = html2text(text); + text = text.replaceAll('&','&').replaceAll('<','<').replaceAll('>','>'); div.innerHTML = '
'+ ''+capitalize(text)+'