Rendering of the following doc (both html and pdf) returns an error in `quarto-pre.lua`:

````md
---
format: html
---

@tbl-iris

```{r}
#| label: tbl-iris
#| tbl-cap: "95%"
kableExtra::kbl(head(iris))
```
```` 

The error is:

![image](https://user-images.githubusercontent.com/38790212/167035195-b812ed1e-dd66-40d0-8add-253a95f8c32e.png)

The document compiles fine if I remove the `%` sign form the caption or print the table with `knitr::kable` instead of `kableExtra`.

I am on Windows 10, Quarto 0.9.363 and use it with RStudio 2022.02.1.

Is there a way to fix this in Quarto or is it more of a `kableExtra` issue?

2022-05-05T22:32:09Z
selinaZitrone
closed
Using `%`  in `tbl-cap` of `kableExtra` table breaks rendering with error in `applyTableCaptions`
https://github.com/quarto-dev/quarto-cli/issues/810