diff options
| author | Laurenz <laurmaedje@gmail.com> | 2024-06-16 09:48:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-16 07:48:03 +0000 |
| commit | f25308d1ebd6554d35d512584ca4c3034f230240 (patch) | |
| tree | f49ee99d588d25196eddfff3cca437b4a9c1d716 /tests/suite/model | |
| parent | 1110b935646fb4174cfce020613378ca7a7e8300 (diff) | |
Tight lists only attach to preceding paragraphs, not blocks anymore (#4396)
Diffstat (limited to 'tests/suite/model')
| -rw-r--r-- | tests/suite/model/list.typ | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/tests/suite/model/list.typ b/tests/suite/model/list.typ index 4d3f402d..f9275517 100644 --- a/tests/suite/model/list.typ +++ b/tests/suite/model/list.typ @@ -145,3 +145,23 @@ World --- issue-2530-list-item-panic --- // List item (pre-emptive) #list.item[Hello] + +--- issue-1850-list-attach-spacing --- +// List attachment should only work with paragraphs, not other blocks. +#set page(width: auto) +#let part = box.with(stroke: 1pt, inset: 3pt) +#{ + part[ + $ x $ + - A + ] + part($ x $ + list[A]) + part($ x $ + list[ A ]) + part[ + $ x $ + + - A + ] + part($ x $ + parbreak() + list[A]) + part($ x $ + parbreak() + parbreak() + list[A]) +} |
