Skip to content

Commit

Permalink
Do not remove empty line after a paragraph
Browse files Browse the repository at this point in the history
  • Loading branch information
planarvoid committed Aug 3, 2023
1 parent f29186e commit 64efd3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aztec/src/main/kotlin/org/wordpress/aztec/AztecParser.kt
Original file line number Diff line number Diff line change
Expand Up @@ -567,8 +567,8 @@ class AztecParser @JvmOverloads constructor(private val alignmentRendering: Alig
i = next
}

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

0 comments on commit 64efd3f

Please sign in to comment.