diff --git a/src/server/translate.ts b/src/server/translate.ts index 96846c81a2..e2cb3bcefd 100644 --- a/src/server/translate.ts +++ b/src/server/translate.ts @@ -82,7 +82,7 @@ const doFetch = (name: string, element: ApiTranslateType): Promise .then(async (res) => { const response = load(res); response("ndlaskip").each((_, el) => { - response(el).contents().unwrap(); + response(el).unwrap(); }); const strippedResponse = response("body").unwrap().html() ?? ""; return { key: name, value: strippedResponse };