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

katex should not be used if opts.allowMath is false #72

Merged
merged 2 commits into from
Jul 5, 2023
Merged

Conversation

hashrock
Copy link
Contributor

@hashrock hashrock commented Jul 4, 2023

Close #69 #51

@hashrock
Copy link
Contributor Author

hashrock commented Jul 4, 2023

@lino-levan

I created this PR to understand the issue with allowMath. Will this PR resolve issue you mentioned?

My understanding is that even if allowMath is false, katex ends up running inside the Renderer.

Copy link
Contributor

@lino-levan lino-levan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Nice!

@hashrock hashrock requested a review from kt3k July 5, 2023 08:30
Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@hashrock hashrock merged commit e828d19 into main Jul 5, 2023
2 checks passed
@hashrock hashrock deleted the fix-allowmath branch July 5, 2023 14:39
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.

HTML appears in code
3 participants