Dan Anglin
b89c0358f4
The wrap line function breaks a line at the position of the last white space before reaching the line limit, however sometimes a single word (e.g. a very long url) exceeds the character limit itself which threw the function into an infinite loop. This commit fixes that by breaking said word at the last letter before the character limit is reached. |
||
---|---|---|
.. | ||
utilities.go |