Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

read: an empty paragraph before a list in a table cell is lost

Đang mở
#214 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
76/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, markdown
Lĩnh vực
cli, content

Hướng nghiên cứu

Start with tableShape and renderCellLines, then reproduce the XML table-cell shape described in the issue and inspect the table property test that exposed it. The fix is done when the empty paragraph before a list survives the Markdown round trip and the generated Markdown is a fixed point on the next read.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

An empty paragraph just before a list in a table cell loses its line on the round trip. The table property test found it on main while I was working on #204, once a change to the generator moved its seeds onto this shape:

<td><p><strong>x up</strong></p><p /><ol><li><p>auth</p></li></ol></td>

reads as | **x up**<br><ol><li><p>auth</p></li></ol> |. That publishes as <strong>x up</strong><br><ol>…, and the next read drops the <br>: | **x up**<ol>…</ol> |. So the Markdown is not a fixed point, and the empty line is gone.

renderCellLines puts a <br> before the empty line and none before the list (a list ends its line by being a block), so the <br> it writes ends up directly before the <ol>, where it has no effect. #55 already keeps a table raw for an empty paragraph at either end of a cell. The likely fix is the same rule for an empty paragraph next to a list, in tableShape.

Ngôn ngữ chính
Go
Star
4
Fork
1
Merge trung bình
1 giờ 35 phút
Pull request đã merge (30 ngày)
39

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mozilla/markfluence

Tất cả issue của mozilla/markfluence

Issue tương tự

Thêm issue về Go

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.