We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b32fa71 commit 72ab873Copy full SHA for 72ab873
src/index.tsx
@@ -41,8 +41,9 @@ const metaTagProperties: string[] =
41
const getTagKey = (tag: TagDescription, properties: string[]) => {
42
// pick allowed properties and sort them
43
const tagProps = Object.fromEntries(
44
- Object.entries(tag.props)
45
- .filter(([k]) => properties.includes(k))
+ properties
+ .filter(k => k in tag.props)
46
+ .map(k => [k, tag.props[k]])
47
.sort()
48
);
49
0 commit comments