Numbered list numbering isn't updated when deleting item

Steps to reproduce

Create a numbered list:

1. lorem ipsum
2. dolor sit amet
3. consectetur adipiscing elit

Delete the middle line

Expected result

Similar to how inserting a line in the middle updates subsequent numbers, deleting a line in the middle should also update subsequent numbers:

1. lorem ipsum
2. consectetur adipiscing elit

Actual result

Numbers are not updated, ending up out of sync:

1. lorem ipsum
3. consectetur adipiscing elit

Environment

  • Operating system: Windows 10
  • Obsidian version: v0.6.2
  • Using custom CSS: n/a

Additional information

A post was merged into an existing topic: The order number of child item in ordered list is wrong