Skip to content

Commit d83e764

Browse files
author
Gerardo
committed
Remove unnecessary semicolon
1 parent bdc719c commit d83e764

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/formatting/InlineFormatter.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ class InlineFormatter(editor: AztecText, val codeStyle: CodeStyle, private val h
127127

128128
// Clear Mark formatting styles
129129
if (!editor.selectedStyles.contains(AztecTextFormat.FORMAT_MARK) && start >= 1 && end > 1 ) {
130-
val previousMarkSpan = editableText.getSpans(start - 1, start, MarkSpan::class.java);
131-
val markSpan = editableText.getSpans(start, end, MarkSpan::class.java);
130+
val previousMarkSpan = editableText.getSpans(start - 1, start, MarkSpan::class.java)
131+
val markSpan = editableText.getSpans(start, end, MarkSpan::class.java)
132132
if (markSpan.isNotEmpty() || (previousMarkSpan.isNotEmpty() && markStyleColor == null)) {
133133
removeInlineCssStyle(start, end)
134134
return

0 commit comments

Comments
 (0)