Skip to content

Commit e361019

Browse files
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

File tree

0 commit comments

Comments
 (0)