### Bug description

A while ago I rendered qmd files with the following Python code:

```python
import geopandas

world = geopandas.read_file(geopandas.datasets.get_path('naturalearth_lowres'))
world = world[(world.pop_est>0) & (world.name!="Antarctica")]

world['gdp_per_cap'] = round((world.gdp_md_est * 1e6) / world.pop_est, 2)

world.explore(
     column="gdp_per_cap", # make choropleth based on "BoroName" column
     popup=True, # show all values in popup (on click)
     # tiles="CartoDB positron", # use "CartoDB positron" tiles
     cmap="viridis", # use "Set1" matplotlib colormap
     style_kwds=dict(color="black") # use black outline
    )
```

and worked just fine giving me the following:

![geopandas-map](https://user-images.githubusercontent.com/717735/195973236-2dbdab73-fae5-465e-ad8a-9a6903f95f5a.png)

Now it renders like this

![current_output](https://user-images.githubusercontent.com/717735/195973251-5ded6668-6f48-45e6-b5f5-03b1df042f6e.png)

Looking at the generated md file I noticed that it used to be an iframe with encoded html using the `data-html` tag. Now it generates an iframe with `srcdoc` and the output is not url-encoded

![geopandas-output](https://user-images.githubusercontent.com/717735/195973304-c033b576-7c2b-46ea-887f-22ffedccaf66.png)

I'm using the latest stable release `1.1.251` and when it worked I was using `0.9.345`

### Checklist

- [X] Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
- [X] Please [format your issue](https://quarto.org/bug-reports.html#formatting-make-githubs-markdown-work-for-us) so it is easier for us to read the bug report.
- [X] Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
- [X] Please document the operating system you're running. If on Linux, please provide the specific distribution.
cscheid
2022-10-15T06:47:08Z
betolink
bug third-party
v1.4
open
Geopandas output not rendered correctly
https://github.com/quarto-dev/quarto-cli/issues/2866