This commit is contained in:
C. Fuhrman 2024-09-14 11:31:06 -04:00
parent bd04a0a07e
commit e14d516fc8

View file

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