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

Allow mathjax to fail without breaking annotations #4628

Merged
merged 1 commit into from
May 15, 2023

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented May 12, 2023

This pull request adds error handling code for when mathjax does not exist.

This should avoid our whole application breaking when mathjax is not available.

I also updated the calls to typeset, as the mathjax v3 now takes actual html elements as input instead of query strings.

@jorg-vr jorg-vr added the bug Something isn't working label May 12, 2023
@jorg-vr jorg-vr self-assigned this May 12, 2023
@jorg-vr jorg-vr requested a review from a team as a code owner May 12, 2023 12:47
@jorg-vr jorg-vr requested review from bmesuere and chvp and removed request for a team May 12, 2023 12:47
@jorg-vr jorg-vr merged commit f579221 into develop May 15, 2023
@jorg-vr jorg-vr deleted the fix/contain-mathjax-errors branch May 15, 2023 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants