diff options
| author | John MacFarlane <[email protected]> | 2024-05-27 19:37:52 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-05-27 19:46:08 -0700 |
| commit | 372cd1d3b19b94ce7a8a72349a5fb6d735025878 (patch) | |
| tree | 5fa935f495cbbca4e70103ef571dee4545ee5a6a /test/typst-reader.native | |
| parent | 2e1f17a09fa01fe8c265b3acf3e6a55d19a67a42 (diff) | |
Typst reader: handle inline bodies ending in a parbreak.
E.g. `#strong[
test
]`. Here we simply skip the final parbreak.
Treat this as a soft break, which will give results similar
to the typst app.
Diffstat (limited to 'test/typst-reader.native')
| -rw-r--r-- | test/typst-reader.native | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/typst-reader.native b/test/typst-reader.native index 74a0ad8de..7644ee0ff 100644 --- a/test/typst-reader.native +++ b/test/typst-reader.native @@ -203,7 +203,8 @@ Pandoc [ Underline [ Link ( "" , [] , [] ) - [ Strong + [ SoftBreak + , Strong [ Str "Typst" , Space , Str "Math" @@ -212,6 +213,7 @@ Pandoc , Space , Str "Undergrads" ] + , SoftBreak ] ( "https://github.com/johanvx/typst-undergradmath" , "" |
