diff --git a/README.md b/README.md index 7523ea83..d7822891 100644 --- a/README.md +++ b/README.md @@ -88,9 +88,9 @@ toastr.success('We do have the Kapua suite available.', 'Turtle Bay Resort', {ti ``` ### Escape HTML characters -In case you want to escape HTML charaters in title and message +In case you don't want to escape HTML charaters in title and message - toastr.options.escapeHtml = true; + toastr.options.escapeHtml = false; ### Close Button Optionally enable a close button diff --git a/toastr.js b/toastr.js index e2fbc0d0..0d402197 100644 --- a/toastr.js +++ b/toastr.js @@ -184,7 +184,7 @@ timeOut: 5000, // Set timeOut and extendedTimeOut to 0 to make it sticky titleClass: 'toast-title', messageClass: 'toast-message', - escapeHtml: false, + escapeHtml: true, target: 'body', closeHtml: '', closeClass: 'toast-close-button',