Revert "fix: prevent sparse spacing in hyphenated words (#1102)"
This reverts commit 2b44dbdbf1.
This commit is contained in:
parent
a524fc545c
commit
87d21ebf2b
3 changed files with 7 additions and 23 deletions
|
|
@ -2051,10 +2051,6 @@ func wrapInterfaces(content []any, width int) [][]any {
|
|||
if unicode.IsSpace(r) {
|
||||
isSpace = true
|
||||
}
|
||||
// Use hyphen-aware word boundary detection
|
||||
if r == '-' {
|
||||
isSpace = false
|
||||
}
|
||||
itemW = rw.RuneWidth(r)
|
||||
} else if att, ok := item.(*Attachment); ok {
|
||||
itemW = uniseg.StringWidth(att.Display)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue