Commit e361019
committed
Fix line break handling in reduceWordsToLines function
- Added a condition to prevent unnecessary splicing when the current index is the last in the range.
- Adjusted the splice parameters to correctly join words when reducing the initial segment of the array.1 parent 6c422e5 commit e361019
3 files changed
Lines changed: 6 additions & 4 deletions
0 commit comments