Skip to content

Commit

Permalink
fix: handle the content attribute (#372)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Feb 24, 2021
1 parent 9f2ca5c commit 002e2a1
Show file tree
Hide file tree
Showing 5 changed files with 298 additions and 258 deletions.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ const META = new Map([
'msapplication-wide310x150logo',
'msapplication-square310x310logo',
'msapplication-config',
'msapplication-task',
'twitter:image',
]),
],
Expand Down Expand Up @@ -610,7 +611,6 @@ const META = new Map([
'layoutimage',
]),
],
['name', new Set(['msapplication-task'])],
]);

function linkItempropFilter(tag, attribute, attributes) {
Expand Down
90 changes: 48 additions & 42 deletions test/__snapshots__/esModule-option.test.js.snap

Large diffs are not rendered by default.

30 changes: 16 additions & 14 deletions test/__snapshots__/loader.test.js.snap

Large diffs are not rendered by default.

138 changes: 75 additions & 63 deletions test/__snapshots__/minimize-option.test.js.snap

Large diffs are not rendered by default.

296 changes: 158 additions & 138 deletions test/__snapshots__/sources-option.test.js.snap

Large diffs are not rendered by default.

0 comments on commit 002e2a1

Please sign in to comment.