### Bug description

Hi,
I have really strange table rendering problems.

My code is the one below. If I render it, the python ouput table is printed as plain text

![image](https://user-images.githubusercontent.com/30607/204017657-d0905ab6-40e4-435f-a01c-92f81ccc767d.png)

If I change `{r}` in `{{r}}`, and render again the file, I have the correct rendering of the python ouput table

![image](https://user-images.githubusercontent.com/30607/204017996-6bc247a1-ddff-4b21-aae2-5887748dc431.png)

It seems to me that something does not work properly, but it seems to me that the code has no errors.

I'm using quarto 1.3.21, in debian 11 (inside WSL2).

Thank you

~~~~
---
title: "tables test"
format: html
---

```{python}
import pandas as pd

df = pd.read_csv("input.csv")
df
```


```{r}
library(tidyverse)
data <- read_csv('input.csv')
knitr::kable(data)
```
~~~~

```
year,i,v
2016,F,0.9599716561118586
2016,G,0.0382418519682473
2016,C,0.0012657864805693667
2016,W,1.2161279236855405e-05
2016,S,4.5402109150926846e-05
```

### 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.
rich-iannone
2022-11-25T15:41:39Z
aborruso
enhancement upstream tables
v1.4
open
coexistence of R and Python gives me inconsistent table renderings
https://github.com/quarto-dev/quarto-cli/issues/3457