Skip to content

Commit 5e7b01a

Browse files
committed
tests: match Pandoc 3.13 tight Typst terms in nested definition list
Pandoc no longer wraps a definition made of a single plain block in #block[...] (changelog, tight term list improvements), so the inner term renders as "/ Inner term: Inner definition." The old regex pinned the #block[ that Pandoc happened to emit. The new one checks what the test is about: the inner list sits inside the outer term's block. Same dev build with Pandoc 3.10 gives the old output, so this is writer drift, and the compiled PDF still shows the nesting.
1 parent 8ddfdf9 commit 5e7b01a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/docs/smoke-all/markdown/definition-list/definition-list-div.qmd‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ _quarto:
2929
typst:
3030
ensureTypstFileRegexMatches:
3131
- - '/ Loose term: #block\['
32-
- '/ Inner term: #block\['
32+
- '/ Outer term: #block\[\s*/ Inner term: Inner definition\.'
3333
- '/ Table term: #block\[\s*#table\('
3434
- []
3535
---

0 commit comments

Comments
 (0)