Speech-Rule-Engine / speech-rule-engine

Generating speech descriptions for XML structures
https://zorkow.github.io/speech-rule-engine/
Apache License 2.0
75 stars 39 forks source link

Nemeth -- Rule 119c(3) #614

Open NSoiffer opened 2 years ago

NSoiffer commented 2 years ago

Missing baseline indicator after the degree sign (SRE uses a space).

MathML:

<math>
  <mi>sin</mi><mn>30</mn><mo>&#xB0;</mo>
  <mi>cos</mi><mn>45</mn><mo>&#xB0;</mo>
  <mo>+</mo>
  <mi>cos</mi><mn>30</mn><mo>&#xB0;</mo>
  <mi>sin</mi><mn>45</mn><mo>&#xB0;</mo>
</math>
Returns   "⠎⠊⠝⠀⠼⠒⠴⠘⠨⠡⠀⠉⠕⠎⠀⠼⠲⠢⠘⠨⠡⠀⠬⠉⠕⠎⠀⠼⠒⠴⠘⠨⠡⠀⠎⠊⠝⠀⠼⠲⠢⠘⠨⠡"
Should be "⠎⠊⠝⠀⠼⠒⠴⠘⠨⠡⠐⠉⠕⠎⠀⠼⠲⠢⠘⠨⠡⠐⠬⠉⠕⠎⠀⠼⠒⠴⠘⠨⠡⠐⠎⠊⠝⠀⠼⠲⠢⠘⠨⠡"