Merge changes in main

This commit is contained in:
C. Fuhrman 2024-09-15 09:29:29 -04:00
commit 49159e781a

View file

@ -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':