mathlive
mathlive copied to clipboard
The output of auto generated closing bracket is '?'
Description
The output of auto generated closing bracket is '?'
Steps to Reproduce
1- Open mathlive.io
2- Write: (x, you will see (x)
3- Click Ctrl+A then Ctrl+C (to copy the output)
Actual Behavior
The output is $$(x?$$ instead of $$(x)$$ ,so there is '?' instead of ')'
same behavior with [x,{x
Expected Behavior
I expected to get ')' instead of '?'
Environment
Operating System Linux mint 20
Browser Chrome and Firefox
Right now, that's the intended behavior. Since the closing fence has only been suggested (you can see it's displayed with a lower opacity) and not validated by the user, the Latex representation reflect that.
I can see that what you're expecting is reasonable as well, though... Wondering if anyone else has some thoughts about this?
Thank you for your response. I think the output of the suggested bracket should be either empty '' or the right symbol ')'. The '?' symbol is weird and made me think there is something wrong.
I noticed this as well. I really liked the way mathquill works with this to be honest. It's impossible to get unbalanced parentheses. It always adds one in another location as soon as you try to remove one.
I also get Confused by this behavior, I thought the right parentheses was generated automatically, which is the expected behavior for every programmer.
Fixed now.