arnog / mathlive

A web component for easy math input
https://cortexjs.io/mathlive
MIT License
1.27k stars 261 forks source link

Curly-bracket cannot be input when smart-fence is off #2376

Closed mathematicswizard closed 1 month ago

mathematicswizard commented 1 month ago

When smart-fence=false then when a user types a curly bracket { - it does not show in the mathfield. But if you select all the text inputted in the mathfield and press ESC, to see the raw latex, it does show.

I've attached an example depicting the problem. Here is what the user sees when typing: mf

And here is what the latex looks like "in the back": mf-escaped

You can see that curly bracket is showing.

I tested this on the latest mathlive version available from the server which I believe is 0.98.6.