### Bug description

Having a code chunk that uses `output-location` which is then wrapped by a fenced div causes the rendered document to fail back to the default output location.

See the following reprex below, it is expected that output should appear next to the code but it appears below. If the `::: {.test}` fenced div is removed then the document renders as expected. This failure occurs for any of the possible values of `output-location`.

````md
---
format: revealjs
---

```{r include=FALSE}
library(tidyverse)
```

## Code

::: {.test}
```{r}
#| echo: true
#| output-location: column
(d = tibble::tribble(
  ~country, ~"1999",  ~"2000",
        "A", "0.7K",     "2K",
        "B",  "37K",    "80K",
        "C", "212K",   "213K"
))
```
:::
````

RStudio 2022.07.1 Build 554
Quatro versions: bundled (1.0.36), latest (1.1.251), dev (1.2.126)


### 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.
jjallaire
2022-09-19T16:05:37Z
rundel
bug revealjs
v1.2
closed
Fenced divs break output-location for revealjs documents
https://github.com/quarto-dev/quarto-cli/issues/2503