### Bug description

```
:::{.callout-note icon="false"}
## response

some text

![multiple versions of R](images/2022-09-08-09-09-16.png){#fig-multiple-version-r}

:::
```

in html looks fine

![image](https://user-images.githubusercontent.com/3196313/189132613-e10748f2-b996-47cf-ac94-d93e98588648.png)


but attempting to render to pdf results latex failure

```
compilation failed- error
LaTeX Error: Not in outer par mode.
```

by removing the callout block and the book renders fine

❯ quarto --version
1.1.189

running in vscode

>   This is XeTeX, Version 3.141592653-2.6-0.999994 (TeX Live 2022) (preloaded format=xelatex)
   restricted \write18 enabled.
  entering extended mode

Mac OS

### 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.
dragonstyle
2022-09-08T13:22:02Z
dpastoor
bug
v1.2
closed
crossref inside a callout causes latex failure (but works fine in html)
https://github.com/quarto-dev/quarto-cli/issues/2354