diff --git a/src/pages/api/students.rs b/src/pages/api/students.rs index 754ccfb..d376391 100644 --- a/src/pages/api/students.rs +++ b/src/pages/api/students.rs @@ -554,7 +554,8 @@ pub async fn get_student_pdf(student_id: String) -> Result<(String, Vec), Se .replace("[", "(") .replace("]", ")") // Ensures trailing commas for lists of dictionaries - .replace("))", "),)"); + .replace("))", "),)") + .replace("\")", "\",)"); debug_log!("New string: {}", typst_string);