List tables drop font-size styles when a cell contains a link
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- Ein halber Tag
- Anfängerfreundlichkeit
- 52/100
- Issue-Typ
- Bug
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- css, html
- Bereich
- frontend
Rechercherichtung
Start with the reported index.qmd and run quarto preview index.qmd, then inspect the generated HTML and CSS applied to the linked and linkless list tables. Trace the HTML list-table rendering path to find where a link causes the table-level font-size style to be dropped. Done means both examples retain the .smaller font size, with a regression test covering a table containing a hyperlink.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
Quarto ignores font-size styles on tables which contain hyperlinks. The style is ignored for the entire table, not just the cell with the link.
Steps to reproduce
Put this in index.qmd and do quarto preview index.qmd:
---
title: "My Document"
format:
html:
include-in-header:
- text: |
<style>
.smaller {
font-size: smaller;
}
</style>
---
::: {.list-table .smaller}
- - foo
- - a [linked thing](https://example.com/)
:::
::: {.list-table .smaller}
- - foo
- - a linkless thing
:::
Actual behavior
Only the table without a link is rendered with a smaller font.
Expected behavior
Both tables should be rendered with a smaller font.
Your environment
No IDE. Running CLI quarto in WSL2 (Ubuntu 24.04), on Windows 11.
Quarto check output
I tried this on two different versions of quarto.
quarto 1.9.38
$ quarto check
Quarto 1.9.38
[✓] Checking environment information...
Quarto cache location: /home/REDACTED/.cache/quarto
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.8.3: OK
Dart Sass version 1.87.0: OK
Deno version 2.4.5: OK
Typst version 0.14.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.9.38
Path: /opt/quarto/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Tex: (not detected)
[✓] Checking Chrome Headless....................OK
Chrome: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........OK
Version: 4.6.1
Path: /usr/lib/R
LibPaths:
- /home/REDACTED/R/x86_64-pc-linux-gnu-library/4.6
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.52
rmarkdown: 2.32
[✓] Checking Knitr engine render......OK
[✓] Checking Python 3 installation....OK
Version: 3.12.3
Path: /usr/bin/python3
Jupyter: 5.3.2
Kernels: python3
(/) Checking Jupyter engine render....Traceback (most recent call last):
File "/opt/quarto/share/jupyter/jupyter.py", line 20, in
from notebook import notebook_execute, RestartKernel
File "/opt/quarto/share/jupyter/notebook.py", line 20, in
from nbclient import NotebookClient
ModuleNotFoundError: No module named 'nbclient'
WARN: Error encountered when rendering files
[✓] Checking Jupyter engine render....OK
Quarto 1.11.9 pre-release
~/barbar$ quarto-1.11.9/bin/quarto check
Quarto 1.11.9
[✓] Checking environment information...
Quarto cache location: /home/REDACTED/.cache/quarto
Project: none found (single-file mode)
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.9.8: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.11.9
Path: /home/REDACTED/barbar/quarto-1.11.9/bin
[✓] Checking tools....................OK
TinyTeX: (not installed)
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Tex: (not detected)
[✓] Checking Chrome Headless....................OK
Chrome: (not detected)
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........OK
Version: 4.6.1
Path: /usr/lib/R
LibPaths:
- /home/REDACTED/R/x86_64-pc-linux-gnu-library/4.6
- /usr/local/lib/R/site-library
- /usr/lib/R/site-library
- /usr/lib/R/library
knitr: 1.52
rmarkdown: 2.32
[✓] Checking Knitr engine render......OK
[✓] Checking Python 3 installation....OK
Version: 3.12.3
Path: /usr/bin/python3
Jupyter: 5.3.2
Kernels: python3
(|) Checking Jupyter engine render....Traceback (most recent call last):
File "/home/REDACTED/barbar/quarto-1.11.9/share/jupyter/jupyter.py", line 20, in
from notebook import notebook_execute, RestartKernel
File "/home/REDACTED/barbar/quarto-1.11.9/share/jupyter/notebook.py", line 20, in
from nbclient import NotebookClient
ModuleNotFoundError: No module named 'nbclient'
WARN: Error encountered when rendering files
[✓] Checking Jupyter engine render....OK
- Vorherrschende Sprache
- JavaScript
- Sterne
- 6.1k
- Forks
- 478
- Ø Merge
- 17 Std. 26 Min.
- Gemergte PRs (30 T.)
- 126
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus quarto-dev/quarto-cli
-
enhancement localization
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
quarto-dev/quarto-cli#15268 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
html maintenance
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
quarto-dev/quarto-cli#15261 ·
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement websites
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
quarto-dev/quarto-cli#15255 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
quarto.json.decode does not raise on invalid JSON, so pcall cannot catch itEvtl. vergeben @sogav21 hat das vor 3 Tagen übernommen. Offenbug lua
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
quarto-dev/quarto-cli#15226 ·
Maintainer antworten meist innerhalb von 1 Tag
-
arrow-dark gives region markers a light band that fails contrastEvtl. vergeben @vav7 hat das vor 3 Tagen übernommen. Offenaccessibility bug themes
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
quarto-dev/quarto-cli#15222 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in quarto-dev/quarto-cli
Ähnliche Issues
-
[vika] console keeps a stale "in progress" turn after a daemon restart mid-runEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
volcengine/OpenViking#7011 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Issue: ready for confirmation Reported on 2.4.9 Triage: Dev.Experience
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
magento/magento2#41773 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 5 Tagen
-
Upgrade listener stays on a custom server after close when `preClose` is setEvtl. vergeben @RaphaelFakhri hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
fastify/fastify-websocket#388 ·
-
[推荐] 影夕视频Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 72/100
-
Perl - Readme DriftEvtl. vergeben @Omnideth hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
CommunityToolkit/Aspire#2375 ·
Maintainer antworten meist innerhalb von 2 Tagen