Skip to content

Commit

Permalink
Remove unnecessary semicolon
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerardo committed Mar 5, 2024
1 parent bdc719c commit d83e764
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ class InlineFormatter(editor: AztecText, val codeStyle: CodeStyle, private val h

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

0 comments on commit d83e764

Please sign in to comment.