mirror of
https://github.com/ets-cfuhrman-pfe/EvalueTonSavoir.git
synced 2025-08-11 21:23:54 -04:00
fixes #71
This commit is contained in:
parent
bd04a0a07e
commit
e14d516fc8
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ function formatLatex(text: string): string {
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function TextType({ text }: TextTypeOptions): string {
|
export default function TextType({ text }: TextTypeOptions): string {
|
||||||
const formatText = formatLatex(text.text.trim());
|
const formatText = formatLatex(text.text.trim()); // latex needs pure "&", ">", etc. Must not be escaped
|
||||||
|
|
||||||
switch (text.format) {
|
switch (text.format) {
|
||||||
case 'moodle':
|
case 'moodle':
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue