Erreur lors de la création d'un quiz en cours d'édition avec l'utilisation du \

Fixes #242
This commit is contained in:
JubaAzul 2025-02-12 09:24:41 -05:00
parent a026f868d1
commit bd194a583e

View file

@ -15,6 +15,7 @@ function formatLatex(text: string): string {
.replace(/\\\((.*?)\\\)/g, (_, inner) =>
katex.renderToString(inner, { displayMode: false })
);
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (error) {
renderedText = text;
}