From f383f68966188172304a9a4c29c6b47815379c97 Mon Sep 17 00:00:00 2001 From: hongjr03 Date: Mon, 27 Jan 2025 21:56:25 +0800 Subject: [PATCH] fix: update cjk-latin-spacing test to reflect default behavior in raw blocks --- tests/suite/text/raw.typ | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/suite/text/raw.typ b/tests/suite/text/raw.typ index 0164d59fe..9c227f331 100644 --- a/tests/suite/text/raw.typ +++ b/tests/suite/text/raw.typ @@ -677,14 +677,13 @@ a b c -------------------- ``` --- issue-5760-disable-cjk-latin-spacing-in-raw --- -// Test that cjk-latin-spacing is disabled in raw blocks. -#set text(cjk-latin-spacing: auto) // cjk-latin-spacing is enabled but should be disabled in raw blocks by default +#show raw: set text(cjk-latin-spacing: auto) // This would enable cjk-latin-spacing ```typ #let hi = "你好world" ``` -#show raw: set text(cjk-latin-spacing: auto) // This would enable cjk-latin-spacing +#show raw: set text(cjk-latin-spacing: none) ```typ #let hi = "你好world" ```