read: paragraph text that looks like a Markdown block becomes structure on publish
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Go
- スター
- 2
- フォーク
- 0
- 平均マージ
- 2時間 29分
- マージ済み PR(30日)
- 60
環境構築
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mozilla/markfluence のほかの issue
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
mozilla/markfluence#210 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
mozilla/markfluence#209 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 72/100
mozilla/markfluence#205 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 76/100
mozilla/markfluence#204 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
mozilla/markfluence#181 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
mozilla/markfluence の issue をすべて見る
似ている issue
-
bug needs triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug P2 reliability
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
afreidah/s3-orchestrator#1564 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
blinklabs-io/gouroboros#2577 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信