mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
Erreur lors de la création d'un quiz en cours d'édition avec l'utilisation du \
Fixes #242
This commit is contained in:
parent
a026f868d1
commit
bd194a583e
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue