diff --git a/src/UI/UIAlert.js b/src/UI/UIAlert.js index 83b98f36d..aa9e95f24 100644 --- a/src/UI/UIAlert.js +++ b/src/UI/UIAlert.js @@ -50,7 +50,7 @@ function UIAlert(options){ // icon h += ``; // message - h += `
${options.message}
`; + h += `
${html_encode(options.message)}
`; // buttons if(options.buttons && options.buttons.length > 0){ h += `
`;