Unnecessary parentheses added by convertMathExpressionToTeXNode
#27
Labels
enhancement
New feature or request
convertMathExpressionToTeXNode
#27
Bug description
when I need to set '{a}+{b}' to MathFieldEditingController, the convertMathExpressionToTeXNode add '()' to the expression, which it shouldn't.
To Reproduce
Steps to reproduce the behavior:
node
has 5 leaves, the start and the end leaf are '(', ')'Expected behavior
simple expression should not wrap with '()', '()' is only required when a lower priority expression as part of higher priority expression, like plus/minus expression as part of times expression
Screenshots
none
The text was updated successfully, but these errors were encountered: