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

LaTeX: Added error checking for the equation #141

Merged
merged 5 commits into from
Jul 26, 2023
Merged

LaTeX: Added error checking for the equation #141

merged 5 commits into from
Jul 26, 2023

Conversation

49Indium
Copy link
Member

A small fix to catch when the equations cannot be rendered. Does slow down /latex slightly, as image is requested once by the bot and once by discord.

This partially solves #139, though we might need to consider running LaTeX on the bot's side in future (codecogs is a pretty average emulation of TeX IMO). I'd like to discuss the security and costs of this.

Copy link
Member

@andrewj-brown andrewj-brown left a comment

Choose a reason for hiding this comment

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

LGTM, although this is a small pr, in a fairly disused cog, with future changes planned. It might be prudent to wrap this up with the rest of the LaTeX changes needed to resolve #139.

@andrewj-brown andrewj-brown merged commit 42ac75a into main Jul 26, 2023
3 checks passed
@49Indium 49Indium deleted the latex branch July 27, 2023 05:25
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