diff --git a/core/src/utils/sanitization/index.ts b/core/src/utils/sanitization/index.ts index 3019250f0d..1486a682d9 100644 --- a/core/src/utils/sanitization/index.ts +++ b/core/src/utils/sanitization/index.ts @@ -122,5 +122,5 @@ const getElementChildren = (element: any) => { return (element.children != null) ? element.children : element.childNodes; }; -const allowedAttributes = ['class', 'id', 'href', 'src']; +const allowedAttributes = ['class', 'id', 'href', 'src', 'name', 'slot']; const blockedTags = ['script', 'style', 'iframe', 'meta', 'link', 'object', 'embed'];