- 
                Notifications
    You must be signed in to change notification settings 
- Fork 347
Closed
Labels
a-contentParsing and rendering Zulip HTML content, notably message contentsParsing and rendering Zulip HTML content, notably message contentsbeta feedbackThings beta users have specifically asked forThings beta users have specifically asked forhelp wanted
Milestone
Description
An <ol> element in Zulip HTML can have the start attribute, like so:
<ol start="9999">
<li>Fjfjdj</li>
<li>Fjdjdj</li>
</ol>On Zulip web, this renders like so:

(The fact that the numbers are cut off at the left is a bug that's getting fixed: zulip/zulip#25063.)
Currently we ignore start and always start the numbering at 1. We should instead respect start when we see it.
This means:
- When we parse the HTML, ListNodeshould get a bit more information to recordstart. Possibly make it abstract and give it subclassesOrderedListNodeandUnorderedListNode, sincestartwon't make sense on the latter.
- Then ListNodeWidgetshould act on that information.
Metadata
Metadata
Assignees
Labels
a-contentParsing and rendering Zulip HTML content, notably message contentsParsing and rendering Zulip HTML content, notably message contentsbeta feedbackThings beta users have specifically asked forThings beta users have specifically asked forhelp wanted
Type
Projects
Status
Done