diff --git a/index.html b/index.html
index 73dde44..d4e5bab 100644
--- a/index.html
+++ b/index.html
@@ -800,12 +800,16 @@
Update the EditContext
If |editContext|'s [=is composing=] is true, then:
- - Let |insertionStart| be |replacementRangeStart|.
- - Let |insertionEnd| be |replacementRangeEnd|.
+
+ - Let |insertionStart| be |replacementRangeStart|.
+ - Let |insertionEnd| be |replacementRangeEnd|.
+
Otherwise:
- - Let |insertionStart| be |selectionStart|.
- - Let |insertionEnd| be |selectionEnd|.
+
+ - Let |insertionStart| be |selectionStart|.
+ - Let |insertionEnd| be |selectionEnd|.
+
Replace the substring of |editContext|'s [=text=] in the range of |insertionStart| and |insertionEnd| with |text|