Browse Source

escape html by default

pull/5331/head
Maik Stegemann 5 years ago
parent
commit
a725b4960f
  1. 6
      framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js

6
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/toastr/abp-toastr.js

@ -12,6 +12,12 @@
/* NOTIFICATION *********************************************/
var showNotification = function (type, message, title, options) {
if (!options) {
options = {};
}
if (options.escapeHtml === undefined) {
options.escapeHtml = true;
}
toastr[type](message, title, options);
};

Loading…
Cancel
Save