From b92c3ad5ac3d4db1fbe17837599c3ee6fe7db3b1 Mon Sep 17 00:00:00 2001 From: D-Sketon <2055272094@qq.com> Date: Sun, 22 Oct 2023 19:33:35 +0800 Subject: [PATCH] feat(html_tag): support twitter:player --- lib/html_tag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/html_tag.ts b/lib/html_tag.ts index 4d357a70..388457aa 100644 --- a/lib/html_tag.ts +++ b/lib/html_tag.ts @@ -1,7 +1,7 @@ import encodeURL from './encode_url'; import escapeHTML from './escape_html'; const regexUrl = /(cite|download|href|src|url)$/i; -const regexMeta = /^(og:|twitter:)(audio|image|url|video)(:secure_url)?$/i; +const regexMeta = /^(og:|twitter:)(audio|image|url|video|player)(:secure_url)?$/i; function encSrcset(str: string) { str.split(' ')