Skip to content

Commit

Permalink
typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bartbutenaers authored Dec 11, 2024
1 parent ea6a54d commit c992878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/widgets/ui-notification/UINotification.vue
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default {
const value = this.messages[this.id]?.payload
// Sanetize the html to avoid XSS attacks.
// Allow 'script' tags to allow styling of the notification content.
// Allow 'style' tags to allow styling of the notification content.
// The FORCE_BODY is required to avoid 'style' tags (at the start of the value string) still being skipped.
const sanetizedValue = DOMPurify.sanitize(value, { ADD_TAGS: ['style'], FORCE_BODY: true })
return sanetizedValue
Expand Down

0 comments on commit c992878

Please sign in to comment.