Open cderv opened 10 months ago
It could be on purpose though - I don't know gt a lot.
This is an issue with Quarto processing activated in fact (if you opt out) table is visible) because Quarto processing will not keep
<colgroup>
<col style="width:300px;">
<col style="width:50px;">
<col style="width:50px;">
<col style="width:50px;">
<col style="width:50px;">
</colgroup>
And I see this following this hint: https://github.com/rstudio/gt/blob/55e3d6a0bb9838cef110658b28ff703ef0ec80e5/R/utils_render_html.R#L280-L310
Considering colgroup
is a specific feature opt-in by user
https://github.com/rstudio/gt/blob/55e3d6a0bb9838cef110658b28ff703ef0ec80e5/R/utils_render_html.R#L256
maybe column width is set Quarto processing should be disabled ? or a warning thrown ? Because I don't think quarto will respect the column
See https://github.com/rstudio/gt/pull/1873#issuecomment-2327271585 for the explanation of why this is
Quarto example (without bootstrap)
Tata
Also
width=
attribute is set (which is deprecated I believe).Not sure from where this zero 0 width is coming.
Reported first at https://github.com/quarto-dev/quarto-cli/issues/8233