From 4d8976b619fbb2ab19c1e46fccbca4294c0c2d0b Mon Sep 17 00:00:00 2001 From: Yip Coekjan <69834864+Coekjan@users.noreply.github.com> Date: Sun, 14 Jul 2024 20:54:51 +0800 Subject: Fix lexer behavior on non-whitespace before ref (#4553) --- tests/suite/model/ref.typ | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') diff --git a/tests/suite/model/ref.typ b/tests/suite/model/ref.typ index 200f40aa..d0881202 100644 --- a/tests/suite/model/ref.typ +++ b/tests/suite/model/ref.typ @@ -54,3 +54,8 @@ $ A = 1 $ // Error: 1-7 label occurs in the document and its bibliography @arrgh #bibliography("/assets/bib/works.bib") + +--- issue-4536-non-whitespace-before-ref --- +// Test reference with non-whitespace before it. +#figure[] <1> +#test([(#ref(<1>))], [(@1)]) -- cgit v1.2.3