Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion toastr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: '<button type="button">&times;</button>',
closeClass: 'toast-close-button',
Expand Down