diff --git a/src/UI/UIAlert.js b/src/UI/UIAlert.js index 7016e138..c5763ea0 100644 --- a/src/UI/UIAlert.js +++ b/src/UI/UIAlert.js @@ -52,6 +52,10 @@ function UIAlert(options){ santized_message = santized_message.replace(/<strong>/g, ''); santized_message = santized_message.replace(/<\/strong>/g, ''); + // replace sanitized

with

+ santized_message = santized_message.replace(/<p>/g, '

'); + santized_message = santized_message.replace(/<\/p>/g, '

'); + let h = ''; // icon h += ``;