read: paragraph text that looks like a Markdown block becomes structure on publish
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 74/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Go
- Stelle
- 2
- Fork
- 0
- Merge medio
- 2h 31m
- PR unite (30g)
- 59
Preparare l'ambiente
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di mozilla/markfluence
-
read: a bold or italic span starting or ending with punctuation reads back as literal asterisksAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
mozilla/markfluence#216 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
mozilla/markfluence#214 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
mozilla/markfluence#213 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
mozilla/markfluence#210 ·
I maintainer di solito rispondono entro 1 giorno
-
Move plans out of the repository so a stale plan cannot be mistaken for how markfluence worksApertadocumentation
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
mozilla/markfluence#209 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di mozilla/markfluence
Issue simili
-
agentic-workflows
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
priority/4/normal status/needs-triage type/bug/unconfirmed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
authelia/authelia#13292 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
blinklabs-io/actions#138 ·
I maintainer di solito rispondono entro 1 giorno
-
[UI] AlbumDetails collapses multi-genre list to single primary genre on viewports < lg breakpointAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno