From 29e9e6dbc14c43cdc6925db7ce40874a1f68c520 Mon Sep 17 00:00:00 2001 From: Divyansh Pratap Date: Wed, 18 Sep 2024 18:56:27 +0530 Subject: [PATCH] fix: issues --- src/metatags/seo-checks.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/metatags/seo-checks.js b/src/metatags/seo-checks.js index 90892b3e..6685869b 100644 --- a/src/metatags/seo-checks.js +++ b/src/metatags/seo-checks.js @@ -124,6 +124,9 @@ class SeoChecks { * @param tagContent */ addToAllTags(url, tagName, tagContent) { + if (!tagContent) { + return; + } const tagContentLowerCase = tagContent.toLowerCase(); this.allTags[tagName][tagContentLowerCase] ??= { pageUrls: new Set(),