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

Do not render MathJax math in description editor #1754

Merged
merged 1 commit into from
Aug 20, 2021

Conversation

int-y1
Copy link
Contributor

@int-y1 int-y1 commented Aug 20, 2021

This PR fixes the following bug:

  • Go to browser's console, go to network, and set a 1 second delay on all requests.
  • Go to /admin/judge/problem/<integer>/change/ and find a description that has math.
  • After ~10 seconds, the page fully loads and the description editor has math in it.

Capture

Because DMOJ is using MathJax 2.7.5, the documentation on skipStartupTypeset is here.

@quantum5 quantum5 merged commit 1b34d7b into DMOJ:master Aug 20, 2021
@int-y1 int-y1 deleted the mathjax-init-load branch August 20, 2021 04:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants