Skip to content

Commit

Permalink
fix: char escape fix (#1867)
Browse files Browse the repository at this point in the history
  • Loading branch information
inetol authored Sep 9, 2024
1 parent 66cf67b commit 98f7145
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vike/node/runtime/renderPage/createHttpResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function createHttpResponseError(): HttpResponse {
500,
'text/html;charset=utf-8',
[],
"<p>An error occurred.</p><script>console.log('This HTTP response was generated by Vike. This response is used instead of rendering the error page (https://vike.dev/error-page), either because there isn't error page or because an error occurred while rendering the error page.')</script>"
`<p>An error occurred.</p><script>console.log('This HTTP response was generated by Vike. This response is used instead of rendering the error page (https://vike.dev/error-page), either because there isn\'t error page or because an error occurred while rendering the error page.')</script>`
)
return httpResponse
}
Expand Down

0 comments on commit 98f7145

Please sign in to comment.