Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

\iff cause range error #2237

Closed
gunnarmein-ts opened this issue Dec 29, 2023 · 1 comment
Closed

\iff cause range error #2237

gunnarmein-ts opened this issue Dec 29, 2023 · 1 comment
Assignees
Labels

Comments

@gunnarmein-ts
Copy link
Contributor

Description

latex \iff causes stack overflow

Steps to Reproduce

Actual Behavior

crash, unexpected display

Expected Behavior

should become "\Longleftrightarrow"

Environment

Is this a regression: did it use to work in a previous version?
worked correctly in 0.93.0

MathLive version 0.98.5
Operating System macOS Sonoma (also happens on github Ubuntu test runner)
Browser Chrome

@QuinnStraus
Copy link

Just independently discovered this bug as well, it worked for me in 0.98.4 but once I upgraded to 0.98.5 it crashed. I got one error that said "TypeError: window.MathfieldElement.isFunction is not a function" when calling the validateLatex utility on the field, if that helps in diagnosing the problem.
I also noticed another problem with \iff in 0.98.4 where calling getValue("latex-expanded") on the mathfield would always add a ";" space on either side of the \iff, which was slightly annoying and might also be related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants