From 3e405cc453856fe7264d5397277fbb8de425cd83 Mon Sep 17 00:00:00 2001 From: SethBurkart123 Date: Fri, 21 Feb 2025 17:41:09 +1100 Subject: [PATCH] feat: html syntax highlighting for more strings --- src/SEQTA.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SEQTA.ts b/src/SEQTA.ts index 6182da70..d69f1ae6 100644 --- a/src/SEQTA.ts +++ b/src/SEQTA.ts @@ -1679,7 +1679,7 @@ function makeLessonDiv(lesson: any, num: number) { const { code, colour, description, staff, room, from, until, attendanceTitle, programmeID, metaID, assessments } = lesson // Construct the base lesson string with default values using ternary operators - let lessonString = ` + let lessonString = /* html */`

${description || 'Unknown'}

${staff || 'Unknown'}

@@ -1690,7 +1690,7 @@ function makeLessonDiv(lesson: any, num: number) { // Add buttons for assessments and courses if applicable if (programmeID !== 0) { - lessonString += ` + lessonString += /* html */`
${assessmentsicon}
${coursesicon}
` @@ -1702,7 +1702,7 @@ function makeLessonDiv(lesson: any, num: number) { `

${element.title}

` ).join('') - lessonString += ` + lessonString += /* html */`