From d7b7f13132365ffe0762a74662fb68bd01cfc6d8 Mon Sep 17 00:00:00 2001 From: David Schlachter Date: Mon, 12 Jan 2026 13:12:30 -0500 Subject: Trim etymology --- setup.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.go b/setup.go index 4b4ce91..3636f7d 100644 --- a/setup.go +++ b/setup.go @@ -191,7 +191,7 @@ func populateDictionary(dp *dictionaryPopulator) tea.Cmd { POS: strings.ToLower(result.POS), } if len(result.Etymology) > 0 { - entry.Etymology = result.Etymology[0] + entry.Etymology = strings.TrimSpace(result.Etymology[0]) } if len(result.Sounds) > 0 { entry.Sound = result.Sounds[0].IPA -- cgit v1.2.3