feat(editor): Implement HTML sanitization for Notification and Message components (#4081)
* feat(editor): Implement HTML sanitization when using `dangerouslyUseHTMLString` option of Notification and Message components * 🐛 Implement mechanism to allow for A href actions from locale strings * 🐛 Prevent link action default * ♻️ Use `xss` library instead of `sanitize-html` to handle sanitization * 🔥 Remove `onLinkClick` functionality of `$showMessage`
This commit is contained in:
@@ -836,7 +836,7 @@
|
||||
"showMessage.ok": "OK",
|
||||
"showMessage.showDetails": "Show Details",
|
||||
"startupError": "Error connecting to n8n",
|
||||
"startupError.message": "Could not connect to server. <a onclick='window.location.reload(false);'>Refresh</a> to try again",
|
||||
"startupError.message": "Could not connect to server. <a data-action='reload'>Refresh</a> to try again",
|
||||
"tagsDropdown.createTag": "Create tag \"{filter}\"",
|
||||
"tagsDropdown.manageTags": "Manage tags",
|
||||
"tagsDropdown.noMatchingTagsExist": "No matching tags exist",
|
||||
|
||||
Reference in New Issue
Block a user