Blacklist tag "AA"

This commit is contained in:
2025-10-30 19:10:32 +01:00
parent 773ae0659c
commit 3fb6c591d7

View File

@@ -80,6 +80,7 @@ final class NodaBlacklistedTerms {
'?',
],
'en' => [
'AA',
'other',
'others',
'unknown',
@@ -88,6 +89,7 @@ final class NodaBlacklistedTerms {
'?',
],
'hu' => [
'AA',
'ism.',
'ismeretlen',
'-',
@@ -111,7 +113,7 @@ final class NodaBlacklistedTerms {
return false;
}
if (\in_array($toCheck, self::TAG_BLACKLIST[$lang], true)) {
if (\in_array($toCheck, self::TAG_BLACKLIST[$lang], true) || \in_array($name, self::TAG_BLACKLIST[$lang], true)) {
return true;
}