diff --git a/crates/typst-utils/src/lib.rs b/crates/typst-utils/src/lib.rs index 4cfe0c046..8d0cdc15a 100644 --- a/crates/typst-utils/src/lib.rs +++ b/crates/typst-utils/src/lib.rs @@ -395,6 +395,10 @@ pub fn default_math_class(c: char) -> Option { // 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), } }