Skip to content

Commit

Permalink
feat(html_tag): support twitter:player
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Sketon committed Oct 22, 2023
1 parent ec7fd7c commit b92c3ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html_tag.ts
Original file line number Diff line number Diff line change
@@ -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(' ')
Expand Down

0 comments on commit b92c3ad

Please sign in to comment.