diff --git a/aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecHeadingSpan.kt b/aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecHeadingSpan.kt index a0748a6e2..a19ad2a26 100644 --- a/aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecHeadingSpan.kt +++ b/aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecHeadingSpan.kt @@ -136,6 +136,8 @@ open class AztecHeadingSpan( previousFontMetrics!!.descent = fm.descent } + previousFontMetrics = null + var addedTopPadding = false var addedBottomPadding = false