mirror of
https://github.com/typst/typst
synced 2025-08-12 22:27:56 +08:00
fix: update cjk-latin-spacing test to reflect default behavior in raw blocks
This commit is contained in:
parent
75c012a34d
commit
f383f68966
@ -677,14 +677,13 @@ a b c --------------------
|
|||||||
```
|
```
|
||||||
|
|
||||||
--- issue-5760-disable-cjk-latin-spacing-in-raw ---
|
--- 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
|
```typ
|
||||||
#let hi = "你好world"
|
#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
|
```typ
|
||||||
#let hi = "你好world"
|
#let hi = "你好world"
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user