Merge pull request #448 from pbakaus/codex/fix-issue-443

Fix Google Fonts ignore-value suppression
This commit is contained in:
Paul Bakaus
2026-07-29 14:55:25 -07:00
committed by GitHub
4 changed files with 15 additions and 0 deletions
+3
View File
@@ -529,6 +529,9 @@ function extractFindingIgnoreValueRaw(finding, rule = normalizeIgnoreRule(findin
const primary = text.match(/Primary font:\s*([^()\n;]+)/i);
if (primary) return cleanIgnoreValueDisplay(primary[1]);
const googleLabel = text.match(/Google Fonts:\s*([^()\n;]+)/i);
if (googleLabel) return cleanIgnoreValueDisplay(googleLabel[1]);
const family = text.match(/font-family\s*:\s*["']?([^'",;\n]+)/i);
if (family) return cleanIgnoreValueDisplay(family[1]);