From 8ee072fc78154d33804a00699e60df137eeabf4e Mon Sep 17 00:00:00 2001 From: d3m1d0v Date: Thu, 6 Apr 2023 15:43:34 +0300 Subject: [PATCH] feat(sanitize): allow 'allow' iframe attribute --- src/transform/sanitize.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/transform/sanitize.ts b/src/transform/sanitize.ts index 1103bee0..292eac92 100644 --- a/src/transform/sanitize.ts +++ b/src/transform/sanitize.ts @@ -277,6 +277,7 @@ const htmlAttrs = [ 'slot', 'frameborder', 'scrolling', + 'allow', 'target', 'data-*', ];