mirror of
https://github.com/typst/typst
synced 2025-07-06 12:12:52 +08:00
Use punctuation math class for Arabic comma (#6537)
This commit is contained in:
parent
09c831d3b3
commit
22a57fcf5c
@ -395,6 +395,10 @@ pub fn default_math_class(c: char) -> Option<MathClass> {
|
|||||||
// https://github.com/typst/typst/issues/5764
|
// https://github.com/typst/typst/issues/5764
|
||||||
'⟇' => Some(MathClass::Binary),
|
'⟇' => Some(MathClass::Binary),
|
||||||
|
|
||||||
|
// Arabic comma.
|
||||||
|
// https://github.com/latex3/unicode-math/pull/633#issuecomment-2028936135
|
||||||
|
'،' => Some(MathClass::Punctuation),
|
||||||
|
|
||||||
c => unicode_math_class::class(c),
|
c => unicode_math_class::class(c),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user