Skip to content

Commit ee9b776

Browse files
authored
Merge branch 'trunk' into issue/guard-against-missing-history-file
2 parents d306eb8 + 0dfd4bb commit ee9b776

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecParser.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,8 +567,8 @@ class AztecParser @JvmOverloads constructor(private val alignmentRendering: Alig
567567
i = next
568568
}
569569

570-
for (z in 0..nl - 1) {
571-
val parentSharesEnd = parents?.any { text.getSpanEnd(it) == end + 1 + z } ?: false
570+
for (z in 0 until nl) {
571+
val parentSharesEnd = parents?.any { text.getSpanEnd(it) == end + z } ?: false
572572
if (parentSharesEnd) {
573573
continue
574574
}

0 commit comments

Comments
 (0)