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
|
||||
'⟇' => Some(MathClass::Binary),
|
||||
|
||||
// Arabic comma.
|
||||
// https://github.com/latex3/unicode-math/pull/633#issuecomment-2028936135
|
||||
'،' => Some(MathClass::Punctuation),
|
||||
|
||||
c => unicode_math_class::class(c),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue