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

Don't process mathjax math in the code editor #4352

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

jorg-vr
Copy link
Contributor

@jorg-vr jorg-vr commented Jan 24, 2023

Mathjax searches for math to convert with patern string such as \\( and $$. It should not search for those patterns in the code editor, as that editor should contain the plaintext code.

As the class tex2jax_ignore was already present on the editor, it appears this issue has already happened in the past but the fix was not functional anymore. By using that class as ignore class for mathjax the issue is now fixed.

This pull request closes #4206

@jorg-vr jorg-vr added the bug Something isn't working label Jan 24, 2023
@jorg-vr jorg-vr requested a review from a team as a code owner January 24, 2023 08:59
@jorg-vr jorg-vr self-assigned this Jan 24, 2023
@jorg-vr jorg-vr requested review from niknetniko and chvp and removed request for a team January 24, 2023 08:59
@jorg-vr jorg-vr merged commit 7df2844 into develop Jan 24, 2023
@jorg-vr jorg-vr deleted the fix/unexpected-character-deletion branch January 24, 2023 09:11
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.

Deletion of characters on edit submission
3 participants