Fix fraction answer key typst QR code syntax

This commit is contained in:
Thomas Hallock 2025-12-11 04:30:46 -06:00
parent de581973b7
commit b266511244
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ function generateFractionAnswerKeyTypst(
${
qrCodeSvg
? `\\
#place(bottom + left, dx: 0.1in, dy: -0.1in)[#stack(dir: ttb, spacing: 2pt, align(center)[#image(bytes("${qrCodeSvg.replace(/"/g, '\\"').replace(/\n/g, '')}"), format: "svg", width: 0.63in, height: 0.63in)], align(center)[#text(size: 7pt, font: "Courier New")[${shareCode || 'PREVIEW'}]])]`)
#place(bottom + left, dx: 0.1in, dy: -0.1in)[#stack(dir: ttb, spacing: 2pt, align(center)[#image(bytes("${qrCodeSvg.replace(/"/g, '\\"').replace(/\n/g, '')}"), format: "svg", width: 0.63in, height: 0.63in)], align(center)[#text(size: 7pt, font: "Courier New")[${shareCode || 'PREVIEW'}]])]`
: ''
}
]