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 -- 43b(3) #608

Open NSoiffer opened 2 years ago

NSoiffer commented 2 years ago

Subscript contraction doesn't apply in superscript. Also no space before ellipsis, the baseline indicator is used instead.

MathML:

<math><msubsup><mi>p</mi><mn>1</mn><msub><mi>&#x3B1;</mi><mn>1</mn></msub></msubsup> 
      <mo>&#x2026;</mo>
      <msubsup><mi>p</mi><mi>r</mi><msub><mi>&#x3B1;</mi><mi>r</mi></msub></msubsup>
</math>
Returns   "⠏⠂⠘⠨⠁⠂⠀⠄⠄⠄⠀⠏⠰⠗⠘⠨⠁⠘⠰⠗"
Should be "⠏⠂⠘⠨⠁⠘⠰⠂⠐⠄⠄⠄⠀⠏⠰⠗⠘⠨⠁⠘⠰⠗"