### Bug description

When using Plotly with Quarto on GH pages, the plot does not render.

### Steps to reproduce

I made a small repo to demonstrate the problem:

- Repo: https://github.com/juliasilge/plotly-quarto-ghpages
- Site: https://juliasilge.github.io/plotly-quarto-ghpages/

### Expected behavior

When I publish with GH pages, I expect the image to be rendered on this page: https://juliasilge.github.io/plotly-quarto-ghpages/

### Actual behavior

There is a blank space where the image should be. I _can_ write the HTML to a file and then include that, but that is not as expected.

### Your environment

This happens when publishing on GH pages, like so: https://github.com/juliasilge/plotly-quarto-ghpages/blob/main/.github/workflows/quarto-publish.yaml

The page looks fine if I render locally.

### Quarto check output

You can look at the GH action workflow to see which versions of Quarto and such are being used.
cderv
2023-05-31T17:38:07Z
juliasilge
bug knitr
open
Plotly image does not render correctly when rendering with GH actions
https://github.com/quarto-dev/quarto-cli/issues/5766