summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Schlachter <t480-debian-git@schlachter.ca>2026-01-08 11:36:26 -0500
committerDavid Schlachter <t480-debian-git@schlachter.ca>2026-01-08 11:36:26 -0500
commit1cd785a492d968f870e605d079ca5c9310cfcea0 (patch)
tree8fc078f58f99215d9f5674e77022e05539795b64
parent4be46ea1449222be87c8ba4aa4d1d02187e5a6d8 (diff)
Fix typo
-rw-r--r--ui.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.go b/ui.go
index 7857216..6b3f8e9 100644
--- 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