elementary / elementary/code

Markdown actions: Deleting from ordered list does not update numbering

Đang mở
#1,476 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Priority: Low
Ngôn ngữ chính
Vala
Star
521
Fork
118
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
14

Mô tả

### What Happened?

Deleted line from middle of ordered list - the remaining lines were not renumbered

### Steps to Reproduce

1. Create an ordered list
2. Delete a line before the last
3. Note numbers incorrect

### Expected Behavior

The list is renumbered. Admittedly, Github does not do this in the source but the preview is correctly numbered so fixing this may not be that important. It appears that for GitHub at least as long as the source lines start with a number (in any order) the preview is correctly numbered.

### OS Version

7.x (Horus)

### Session Type

Classic Session (X11, This is the default)

### Software Version

Latest release (I have run all updates)

### Log Output

_No response_

### Hardware Info

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.