Skip to content

Commit 7e4dca4

Browse files
committed
fix the HTML ol format
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
1 parent 2dc6af5 commit 7e4dca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

proposals/4313-require_html_ol_start_attribute.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ Bob replies:
3232

3333
Let's assume Bob's client takes the option to translate the plain text `2.` to HTML.
3434
Assuming further that Bob's client has full support to the extent recommended by the spec, then Bob's
35-
message becomes `"formatted_body": "<ol start=\"2\"></ol>"`, i.e. an ordered ("numbered") list with a single,
35+
message becomes `"formatted_body": "<ol start=\"2\"><li></li></ol>"`, i.e. an ordered ("numbered") list with a single,
3636
empty entry, that starts at an index of two.
3737

3838
Let's assume Alice's client also implements HTML markup in a configuration allowed by the spec:
3939
Her client supports `ol` tags, but not the `start` attribute.
4040
A common implementation is to parse the HTML and simply remove any tags not implemented by the client.
41-
After safely ingesting the message, Alice's client ends up with `"formatted_body": "<ol></ol>"`.
41+
After safely ingesting the message, Alice's client ends up with `"formatted_body": "<ol><li></li></ol>"`.
4242
Rendering this, Alices screen shows:
4343

4444
Bob said:

0 commit comments

Comments
 (0)