diff --git a/packages/next/server/render.tsx b/packages/next/server/render.tsx index f88987ef45108..77fc96a954537 100644 --- a/packages/next/server/render.tsx +++ b/packages/next/server/render.tsx @@ -1431,7 +1431,7 @@ export async function renderToHTML( } const [renderTargetPrefix, renderTargetSuffix] = documentHTML.split( - /<\/next-js-internal-body-render-target>/ + '' ) const prefix: Array = []