This commit is contained in:
Benjamin Toby 2025-05-12 10:49:30 +01:00
parent 674af34355
commit a90989cea7
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ const sanitizeHtmlOptions = {
"br", "br",
], ],
allowedAttributes: { allowedAttributes: {
a: ["href", "title", "class", "style"], a: ["href", "title", "class", "style", "target"],
img: ["src", "alt", "width", "height", "class", "style"], img: ["src", "alt", "width", "height", "class", "style"],
"*": ["style", "class", "title"], "*": ["style", "class", "title"],
}, },

View File

@ -24,7 +24,7 @@ const sanitizeHtmlOptions = {
"br", "br",
], ],
allowedAttributes: { allowedAttributes: {
a: ["href", "title", "class", "style"], a: ["href", "title", "class", "style", "target"],
img: ["src", "alt", "width", "height", "class", "style"], img: ["src", "alt", "width", "height", "class", "style"],
"*": ["style", "class", "title"], "*": ["style", "class", "title"],
}, },

View File

@ -1,6 +1,6 @@
{ {
"name": "@moduletrace/datasquirel", "name": "@moduletrace/datasquirel",
"version": "4.5.8", "version": "4.5.9",
"description": "Cloud-based SQL data management tool", "description": "Cloud-based SQL data management tool",
"main": "dist/index.js", "main": "dist/index.js",
"bin": { "bin": {