Skip to content

Commit 64efd3f

Browse files
committed
Do not remove empty line after a paragraph
1 parent f29186e commit 64efd3f

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)