File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
aztec/src/main/kotlin/org/wordpress/aztec/source Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -349,7 +349,7 @@ object Format {
349349
350350 // remove visual newline marking around comment and line spans to add a space above and below them in source editor
351351 if (spanStart > 0 && (
352- text.getSpans(spanStart - 1 , spanEnd, AztecFullWidthImageSpan ::class .java).isNotEmpty() ||
352+ text.getSpans(spanStart - 1 , spanEnd, AztecCommentSpan ::class .java).isNotEmpty() ||
353353 text.getSpans(spanStart - 1 , spanEnd, CommentSpan ::class .java).isNotEmpty() ||
354354 text.getSpans(spanStart - 1 , spanEnd, AztecHorizontalLineSpan ::class .java).isNotEmpty())) {
355355 text.getSpans(spanStart, spanEnd, AztecVisualLinebreak ::class .java).forEach { text.removeSpan(it) }
You can’t perform that action at this time.
0 commit comments