### Bug description

With the newest Quarto version (1.4.84) on Windows, I now get an error when trying to label a table created with `gt()`. A minimal example:

	---
	format: html
	---

	# Title

	```{r}
	#| echo: false
	#| tbl-cap: "Caption."
	#| label: tbl-test
	library(gt)

	gt(mtcars)
	```

which results in this error:

	Error running filter C:/Users/au234616/AppData/Local/Programs/Quarto/share/filters/main.lua:
	...616/AppData/Local/Programs/Quarto/share/filters/main.lua:9301: attempt to call a string value (field 'html_table_caption')
	stack traceback:
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:9139: in local 'fn'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:2120: in function <...616/AppData/Local/Programs/Quarto/share/filters/main.lua:2114>
			(...tail calls...)
			[C]: in ?
			[C]: in method 'walk'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:178: in function 'run_emulated_filter'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:566: in local 'callback'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:577: in upvalue 'run_emulated_filter_chain'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:610: in function <...616/AppData/Local/Programs/Quarto/share/filters/main.lua:607>
	stack traceback:
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:178: in function 'run_emulated_filter'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:566: in local 'callback'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:577: in upvalue 'run_emulated_filter_chain'
			...616/AppData/Local/Programs/Quarto/share/filters/main.lua:610: in function <...616/AppData/Local/Programs/Quarto/share/filters/main.lua:607>

### 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.
- [ ] 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.
- [ ] Please provide the output of `quarto check` so we know which version of quarto and its dependencies you're running.
cscheid
2023-05-24T08:44:04Z
snhansen
bug tables
closed
Labeling of gt-tables is broken
https://github.com/quarto-dev/quarto-cli/issues/5657