Skip to content

Commit

Permalink
feat(html_tag): support twitter:player (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Sketon authored Oct 26, 2023
1 parent ec7fd7c commit 5ed3d5c
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 5ed3d5c

Please sign in to comment.