commit 1cd785a492d968f870e605d079ca5c9310cfcea0
parent 4be46ea1449222be87c8ba4aa4d1d02187e5a6d8
Author: David Schlachter <t480-debian-git@schlachter.ca>
Date: Thu, 8 Jan 2026 11:36:26 -0500
Fix typo
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui.go b/ui.go
@@ -147,7 +147,7 @@ func (m model) View() string {
}
func formatDefinitionForDisplay(policy bluemonday.Policy, definition string, maxWidth int) string {
- // Add a hypher to the start of each definition
+ // Add a hyphen to the start of each definition
str := strings.ReplaceAll(definition, "<li class=sense>", "<li class=sense>- ")
// Italicize examples