read: paragraph text that looks like a Markdown block becomes structure on publish
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
- 74/100
Hướng nghiên cứu
Start in storage_to_md.go at renderBlock's block-level p case, then trace the read → publish path described in the issue. Cover the listed leading Markdown block markers, including HTML and table-like lines, and verify that escaped paragraph text remains unchanged after another read → publish cycle.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
`read` and `export` write a paragraph's text as Markdown without escaping a leading block marker, so text that looks like a Markdown block turns into that block on the next publish. Found in the second review of #55.
Reproduced 2026-09-25 (read → publish):
| storage | read writes | publish sends |
|---|---|---|
| ` 1. not a list ` |
`1. not a list` | `
|
| ` # not heading ` |
`# not heading` | `not heading` |
| ` > 5 errors ` |
`> 5 errors` | `` |
The page's content changes silently on a read → update cycle, and the Markdown is a fixed point after the first cycle, so no round-trip test notices. It affects every paragraph `read` writes: top level, layout cells, macro bodies, and (since #55) raw table cells. A GFM pipe-table cell is not affected, because its text is inline.
Notes
- The fix belongs where `storage_to_md.go` renders a block-level `
` (`renderBlock`'s `p` case), escaping a leading marker with a backslash (`1\.`, `\#`, `\>`).
- The markers to cover include `-`, `+`, `*`, `1.`/`1)`, `#`, `>`, a line that is only `---`/`===` (a thematic break or a setext underline), four leading spaces (indented code), and `|` if a line could read as a table row. Probably also a leading `<` that would start an HTML block.
- The escape must survive the next read, so the Markdown stays a fixed point.
- 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
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mozilla/markfluence
-
read: a bold or italic span starting or ending with punctuation reads back as literal asterisksĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
mozilla/markfluence#216 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 76/100
mozilla/markfluence#214 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
mozilla/markfluence#213 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
mozilla/markfluence#210 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Move plans out of the repository so a stale plan cannot be mistaken for how markfluence worksĐang mởdocumentation
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
mozilla/markfluence#209 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của mozilla/markfluence
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
-
agent-review-finding bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
jordansmall/spindrift#5281 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Integer parameters equal to 2^63 pass the range check in toInt and wrap to a negative numberĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
github/github-mcp-server#3489 ·
Maintainer thường phản hồi trong vòng 4 ngày
-
L: java:gradle L: java:maven L: ruby:bundler T: bug 🐞
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
dependabot/dependabot-core#16547 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs/examples still create key ranges in ascending order, which fails in 3.1.0 (follow-up to #1754)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pg-sharding/spqr#3083 ·
Maintainer thường phản hồi trong vòng 1 ngày