diff --git a/internal/web/handler.go b/internal/web/handler.go index d4fc8a9..952ebce 100644 --- a/internal/web/handler.go +++ b/internal/web/handler.go @@ -854,7 +854,7 @@ const ipDetailsHTML = ` rows.push('
Abuse contact: ' + escapeHtml(investigation.registration.abuse_email || '—') + '
'); } if (investigation.reputation) { - const label = investigation.reputation.spamhaus_listed ? ('listed (' + (investigation.reputation.spamhaus_codes || []).join(', ') + ')') : 'not listed'; + const label = investigation.reputation.spamhaus_listed ? 'Yes' : 'No'; rows.push('
Spamhaus: ' + escapeHtml(label) + '
'); if (investigation.reputation.error) { rows.push('
Spamhaus error: ' + escapeHtml(investigation.reputation.error) + '
');