Quarto #| label: tab-description breaks docx output

Hello everyone,

I have a problem rendering a quarto document to a docx-document when it contains use #| label: tab-example.

After the rendering I get the following error message from Word:
Ambiguous cell mapping encountered. <p> elements are required before every </tc>

This error does not occur if #| label: fig-example is used.

Does anyone has any Idea how to solve this issue?

Thanks,
Rapha

Failing Quarto Document

---
title: "Render"
format: docx
editor: visual
---

## Test

```{r}
#| echo: false
#| label: tbl-test
library(gtsummary)
tbl_summary(cars)

Sucsessful Quarto Document

---
title: "Render"
format: docx
editor: visual
---

## Test

```{r}
#| echo: false
library(gtsummary)
tbl_summary(cars) 
1 Like