Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spanners appear incorrect when rendering with Quarto #1839

Closed
snhansen opened this issue Aug 17, 2024 · 1 comment · Fixed by #1856
Closed

Spanners appear incorrect when rendering with Quarto #1839

snhansen opened this issue Aug 17, 2024 · 1 comment · Fixed by #1856

Comments

@snhansen
Copy link

Table spanners in gt-tables appear above the spanner label and not below as it should when rendering to html.

Steps to reproduce

---
format: html
---

```{r}
mtcars[1:3, 1:4] |> 
  gt::gt() |> 
  gt::tab_spanner(label = gt::md("Header"), columns = 2:3)
```

Expected behavior

image

Actual behavior

image

I posted the issue on the Quarto repository and was told that the HTML emitted by gt doesn't validate in this case (quarto-dev/quarto-cli#10534)

@olivroy
Copy link
Collaborator

olivroy commented Aug 21, 2024

Thanks for the report! We may have identified the source of the problem #1842 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants