From 099043a21b75ace03280eb1d2c00e25796ead64c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Dvo=C5=99=C3=A1k?= <150935816+Dvorinka@users.noreply.github.com> Date: Fri, 23 May 2025 10:04:52 +0200 Subject: [PATCH] Add files via upload --- kontakt/contact-scrape.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kontakt/contact-scrape.go b/kontakt/contact-scrape.go index 72fa422..94511cb 100644 --- a/kontakt/contact-scrape.go +++ b/kontakt/contact-scrape.go @@ -294,8 +294,8 @@ func processContacts(contacts []Contact) *ContactData { data.InternalContacts = []Contact{} for _, contact := range contacts { - // Mark as internal if name is exactly "Interní" - if contact.Name == "Interní" { + // Trim whitespace and check for "Interní" + if strings.TrimSpace(contact.Name) == "Interní" { contact.Internal = true data.InternalContacts = append(data.InternalContacts, contact) } else {