mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Revert "Allow the <p>
tag in UIAlert
body"
This reverts commit e2dcc813ec
.
This commit is contained in:
parent
e2dcc813ec
commit
3cce0e88df
@ -52,10 +52,6 @@ function UIAlert(options){
|
||||
santized_message = santized_message.replace(/<strong>/g, '<strong>');
|
||||
santized_message = santized_message.replace(/<\/strong>/g, '</strong>');
|
||||
|
||||
// replace sanitized <p> with <p>
|
||||
santized_message = santized_message.replace(/<p>/g, '<p>');
|
||||
santized_message = santized_message.replace(/<\/p>/g, '</p>');
|
||||
|
||||
let h = '';
|
||||
// icon
|
||||
h += `<img class="window-alert-icon" src="${html_encode(options.body_icon)}">`;
|
||||
|
Loading…
Reference in New Issue
Block a user