Skip to content

Commit 37b282a

Browse files
committed
ammended comment
1 parent 89f94f0 commit 37b282a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
466466
&& dstart == dend && dest.length > dend+1
467467
&& source != Constants.NEWLINE_STRING) {
468468
// dstart == dend means this is an insertion
469-
// but avoid handling anything if it's a
469+
// avoid handling anything if it's a newline
470470
// if there are any images right after the destination position, hack the text
471471
val spans = dest.getSpans(dstart, dend+1, AztecImageSpan::class.java)
472472
if (spans.isNotEmpty()) {

0 commit comments

Comments
 (0)