Skip to content

Commit 539f9ea

Browse files
committed
drive-by fix
1 parent aa77cf4 commit 539f9ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/svelte.dev/src/routes/tutorial/[slug]/content.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ export async function load_exercise(slug: string): Promise<Exercise> {
149149
next,
150150
markdown: exercise.body,
151151
html: await transform(exercise.body, {
152-
codespan: (text) =>
152+
codespan: ({ text }) =>
153153
filenames.size > 1 && filenames.has(text)
154154
? `<code data-file="${scope.prefix + text}">${text}</code>`
155155
: `<code>${text}</code>`

0 commit comments

Comments
 (0)