mirror of
https://github.com/typst/typst
synced 2025-05-14 17:15:28 +08:00
Fix chinese numbers being limited to 255 (#2802)
This commit is contained in:
parent
3ea2ad6cae
commit
79c2d1f29e
@ -482,7 +482,7 @@ impl NumberingKind {
|
|||||||
Case::Upper => ChineseCase::Upper,
|
Case::Upper => ChineseCase::Upper,
|
||||||
};
|
};
|
||||||
|
|
||||||
match (n as u8).to_chinese(
|
match (n as u64).to_chinese(
|
||||||
match l {
|
match l {
|
||||||
Self::SimplifiedChinese => ChineseVariant::Simple,
|
Self::SimplifiedChinese => ChineseVariant::Simple,
|
||||||
Self::TraditionalChinese => ChineseVariant::Traditional,
|
Self::TraditionalChinese => ChineseVariant::Traditional,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user