NSoiffer / MathCAT

MathCAT: Math Capable Assistive Technology for generating speech, braille, and navigation.
MIT License
63 stars 35 forks source link

Vietnamese braille number bug: 1,000 #243

Open NSoiffer opened 11 months ago

NSoiffer commented 11 months ago

The following test fails:

fn number_3a () {
    let expr = "<math><mn>1,000</mn></math>";
    test_braille_prefs("Vietnam", vec![("DecimalSeparators", ","), ("BlockSeparators", ". ")], expr, "⠼⠁⠄⠚⠚⠚");
}

The problem is this somehow needs to recognize this really is meant to be 1.000 and convert the , to . in the braille output.