diff options
| author | David Schlachter <t480-debian-git@schlachter.ca> | 2026-01-12 13:12:30 -0500 |
|---|---|---|
| committer | David Schlachter <t480-debian-git@schlachter.ca> | 2026-01-12 13:12:30 -0500 |
| commit | d7b7f13132365ffe0762a74662fb68bd01cfc6d8 (patch) | |
| tree | 6372c48edaef2eec7630ae9e963907bff8d86718 | |
| parent | 414bb721a642670b73ee269ecfc50ffced4aa1f3 (diff) | |
Trim etymology
| -rw-r--r-- | setup.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
