From 7f0b7a28c7686b7b76ccdc1aa2937c6994c006fe Mon Sep 17 00:00:00 2001 From: Laurenz Date: Mon, 11 Mar 2024 12:51:38 +0100 Subject: Fix figure caption separator synthesis (#3621) --- tests/typ/bugs/3586-figure-caption-separator.typ | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/typ/bugs/3586-figure-caption-separator.typ (limited to 'tests') diff --git a/tests/typ/bugs/3586-figure-caption-separator.typ b/tests/typ/bugs/3586-figure-caption-separator.typ new file mode 100644 index 00000000..ee992c50 --- /dev/null +++ b/tests/typ/bugs/3586-figure-caption-separator.typ @@ -0,0 +1,7 @@ +// Test that figure caption separator is synthesized correctly. +// https://github.com/typst/typst/issues/3586 +// Ref: false + +--- +#show figure.caption: c => test(c.separator, [#": "]) +#figure(table[], caption: [This is a test caption]) -- cgit v1.2.3