Problem
read and export write two adjacent lists of the same kind with a blank line between them, and Markdown reads that as one loose list, so the next publish merges them. Found by the table property test in #55.
Reproduced 2026-09-25 (read → publish):
| storage |
read writes |
publish sends |
<ol><li>a</li></ol><ol><li>b</li></ol> |
1. a blank line 1. b |
one <ol> with two items, each wrapped in <p> (a loose list) |
<ul><li>a</li></ul><ul><li>b</li></ul> |
- a blank line - b |
one <ul> with two items, each wrapped in <p> |
Two lists become one, and the items gain paragraph spacing. It happens anywhere read writes blocks: the top level, layout cells, macro bodies and raw table cells. The table property test's generator avoids writing adjacent lists so that it does not fail on this.
Notes
- CommonMark ends a list when the bullet character changes (
- then *) or the ordered delimiter changes (. then )), and an HTML comment between the two (<!-- -->) also separates them. Changing the marker is the least noisy fix, but it has to survive the next read, so the Markdown stays a fixed point.
Problem
readandexportwrite two adjacent lists of the same kind with a blank line between them, and Markdown reads that as one loose list, so the next publish merges them. Found by the table property test in #55.Reproduced 2026-09-25 (read → publish):
<ol><li>a</li></ol><ol><li>b</li></ol>1. ablank line1. b<ol>with two items, each wrapped in<p>(a loose list)<ul><li>a</li></ul><ul><li>b</li></ul>- ablank line- b<ul>with two items, each wrapped in<p>Two lists become one, and the items gain paragraph spacing. It happens anywhere
readwrites blocks: the top level, layout cells, macro bodies and raw table cells. The table property test's generator avoids writing adjacent lists so that it does not fail on this.Notes
-then*) or the ordered delimiter changes (.then)), and an HTML comment between the two (<!-- -->) also separates them. Changing the marker is the least noisy fix, but it has to survive the next read, so the Markdown stays a fixed point.