From 80f4516e91d9be6a2db67ec49565c3c5331f19d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Raffray?= Date: Fri, 10 May 2024 16:35:58 +0200 Subject: [PATCH] update recombine --- src/runtime/nitro/plugins/60-recombineHtml.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/runtime/nitro/plugins/60-recombineHtml.ts b/src/runtime/nitro/plugins/60-recombineHtml.ts index 625dd3ae..97eca549 100644 --- a/src/runtime/nitro/plugins/60-recombineHtml.ts +++ b/src/runtime/nitro/plugins/60-recombineHtml.ts @@ -21,10 +21,7 @@ export default defineNitroPlugin((nitroApp) => { const cheerios = event.context.security!.cheerios! for (const section of sections) { - html[section] = cheerios[section].map($ => { - const html = $.html() - return html - }) + html[section] = cheerios[section] } }