Skip to content

Commit

Permalink
Update word_wrap.go
Browse files Browse the repository at this point in the history
  • Loading branch information
jackton1 committed Mar 25, 2023
1 parent 5a7bc16 commit 589c16c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/utils/word_wrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import (
"strings"
)

// Wrap lengthy words with the br html tag except code blocks, links, and code
func WordWrap(s string, limit int) string {
if strings.TrimSpace(s) == "" {
return s
Expand Down

0 comments on commit 589c16c

Please sign in to comment.