diff --git a/src/general.ts b/src/general.ts index 7a1d2bb..c352498 100644 --- a/src/general.ts +++ b/src/general.ts @@ -71,9 +71,10 @@ async function getOEmbedRich($: cheerio.CheerioAPI, pageUrl: string): Promise s); const safeList = [ - '', 'autoplay', 'clipboard-write', 'fullscreen', diff --git a/test/oembed/invalid/oembed-too-powerful2.json b/test/oembed/invalid/oembed-too-powerful2.json index c0952dc..312b0e2 100644 --- a/test/oembed/invalid/oembed-too-powerful2.json +++ b/test/oembed/invalid/oembed-too-powerful2.json @@ -1,6 +1,6 @@ { "version": "1.0", "type": "rich", - "html": "", + "html": "", "height": 300 } diff --git a/test/oembed/oembed-allow-safelisted-features.json b/test/oembed/oembed-allow-safelisted-features.json index cfe0ee8..6ef40a1 100644 --- a/test/oembed/oembed-allow-safelisted-features.json +++ b/test/oembed/oembed-allow-safelisted-features.json @@ -1,6 +1,6 @@ { "version": "1.0", "type": "rich", - "html": "", + "html": "", "height": 300 }