diff --git a/client/src/components/GiftTemplate/templates/TextType.ts b/client/src/components/GiftTemplate/templates/TextType.ts index 5b206ed..a95a124 100644 --- a/client/src/components/GiftTemplate/templates/TextType.ts +++ b/client/src/components/GiftTemplate/templates/TextType.ts @@ -17,7 +17,7 @@ function formatLatex(text: string): 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) { case 'moodle':