cinny icon indicating copy to clipboard operation
cinny copied to clipboard

Numbered lists are numbered wrongly

Open HarHarLinks opened this issue 3 years ago • 0 comments

Describe the bug

sending

5. five
10. ten

gives image

Reproduction

"content": {
    "body": "5. five\n10. ten",
    "format": "org.matrix.custom.html",
    "formatted_body": "<ol start=\"5\">\n<li>five</li>\n<li>ten</li>\n</ol>\n",
    "msgtype": "m.text",
    "org.matrix.msc1767.message": [
      {
        "body": "5. five\n10. ten",
        "mimetype": "text/plain"
      },
      {
        "body": "<ol start=\"5\">\n<li>five</li>\n<li>ten</li>\n</ol>\n",
        "mimetype": "text/html"
      }
    ]
  }

Expected behavior

Element does this image which in my opinion is (at least/only) half correct by following the suggested start property of ol https://spec.matrix.org/latest/client-server-api/#mroommessage-msgtypes

Platform and versions

OS: Arch
Browser: 5.4.2763.3 (Official Build) snapshot (64-bit) 
Cinnyv2.1.2

Additional context

No response

HarHarLinks avatar Aug 12 '22 18:08 HarHarLinks