Skip to content

Commit c043369

Browse files
authored
chore: markup cleanup (#108)
Editorial changes to fix markup issues flagged by linter.
1 parent 6582403 commit c043369

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

index.html

+10-6
Original file line numberDiff line numberDiff line change
@@ -800,12 +800,16 @@ <h4><dfn>Update the EditContext</dfn></h4>
800800
</ol>
801801
</li>
802802
<li>If |editContext|'s [=is composing=] is true, then:
803-
<ol>Let |insertionStart| be |replacementRangeStart|.</ol>
804-
<ol>Let |insertionEnd| be |replacementRangeEnd|.</ol>
803+
<ol>
804+
<li>Let |insertionStart| be |replacementRangeStart|.</li>
805+
<li>Let |insertionEnd| be |replacementRangeEnd|.</li>
806+
</ol>
805807
</li>
806808
<li>Otherwise:
807-
<ol>Let |insertionStart| be |selectionStart|.</ol>
808-
<ol>Let |insertionEnd| be |selectionEnd|.</ol>
809+
<ol>
810+
<li>Let |insertionStart| be |selectionStart|.</li>
811+
<li>Let |insertionEnd| be |selectionEnd|.</li>
812+
</ol>
809813
</li>
810814
<li>
811815
Replace the substring of |editContext|'s [=text=] in the range of |insertionStart| and |insertionEnd| with |text|
@@ -1149,10 +1153,10 @@ <h3 id="editcontext-interface">EditContext Interface</h3>
11491153
</div>
11501154
</dd>
11511155
<dt>attachedElements() method</dt>
1152-
<dd><p>The method returns a list with one item which is the the {{EditContext}}'s <a>associated element</a>, or an empty list if the {{EditContext}}'s <a>associated element</a> is null.</p></dd>
1156+
<dd><p>The method returns a list with one item which is the the {{EditContext}}'s <a>associated element</a>, or an empty list if the {{EditContext}}'s <a>associated element</a> is null.</p>
11531157
<p class="note">
11541158
This method returns a list instead of a single element for forward compatibility if {{EditContext}} is ever granted the ability to have multiple <a>associated elements</a>.
1155-
</p>
1159+
</p></dd>
11561160

11571161
<dt>ontextupdate</dt>
11581162
<dd><p>The event handler for {{TextUpdateEvent}}.</p></dd>

tidyconfig.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ indent: yes
33
wrap: 80
44
tidy-mark: no
55
newline: LF
6-
custom-tags: yes
6+
custom-tags: pre

0 commit comments

Comments
 (0)