DM-307: Fixed applyWithLineBreaks 3

This commit is contained in:
deiflaender 2023-07-06 16:52:03 +02:00
parent 210186bfd7
commit 897243be2f

View File

@ -214,7 +214,7 @@ public class AtomicTextBlock implements TextBlock {
.filter(boundary::contains)
.collect(Collectors.toSet());
if (boundary.end() == getBoundary().end()) {
lbInBoundary.add(getBoundary().length());
lbInBoundary.add(getBoundary().end());
}
StringBuilder sb = new StringBuilder();
for (int i = boundary.start(); i < boundary.end(); i++) {