Skip to content

Commit

Permalink
Removed redundant data-sanitation
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisSigrist authored May 17, 2023
1 parent 7ad7abf commit 28cd18e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/kit/src/core/postbuild/crawl.js
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,10 @@ export function crawl(html, base) {

if (tag === 'META' && content) {
if (name && CRAWLABLE_META_NAME_ATTRS.has(name)) {
hrefs.push(resolve(base, content.trim().toLowerCase()));
hrefs.push(resolve(base, content));
}

if (property && CRAWLABLE_META_NAME_ATTRS.has(property.trim().toLowerCase())) {
if (property && CRAWLABLE_META_NAME_ATTRS.has(property)) {
hrefs.push(resolve(base, content));
}
}
Expand Down

0 comments on commit 28cd18e

Please sign in to comment.