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

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

0 commit comments

Comments
 (0)