Markdown in sidebar section titles stays raw in search crumbs and in sections with href
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 65/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, markdown, typescript, yaml
- Lĩnh vực
- accessibility, search, web-dev
Hướng nghiên cứu
Start by tracing how sidebar section titles are rendered with and without href, then follow where breadcrumb values are added to search.json and how the toggle aria-label is built. The reproduction provides a minimal _quarto.yml and commands to inspect the generated output. Compare those outputs with the correctly rendered breadcrumb and clean llms.txt titles; done means section titles render consistently and crumbs and labels use plain text, or the docs clarify that Markdown titles are unsupported.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
A Markdown span in a sidebar section title renders as an icon in the breadcrumbs and in the sidebar, but stays as raw text in two places.
search.jsonkeeps the raw Markdown in everycrumbsentry, so search results show[]{.bi .bi-globe2 aria-hidden=true} Websitesas context.- When the section also has an
href, the sidebar link text and thearia-labelof the section toggle show the raw Markdown.
The same section withouthrefrenders the icon.
llms.txt and the .llms.md files have clean titles, so the text is already stripped for those outputs.
Markdown in section titles isn't documented, so this may be unsupported.
In that case, a note in the docs would help.
Steps to reproduce
_quarto.yml:
project:
type: website
website:
title: "Native check"
bread-crumbs: true
search:
show-item-context: true
navbar:
left:
- text: "Guide"
href: guide/index.qmd
sidebar:
- contents:
- section: "[]{.bi .bi-signpost-split aria-hidden=true} Guide"
href: guide/index.qmd
contents:
- section: "[]{.bi .bi-globe2 aria-hidden=true} Websites"
contents:
- topic/page.qmd
index.qmd, guide/index.qmd and topic/page.qmd each hold a title and one line of text, for example:
---
title: "Topic page"
---
Text.
Then:
quarto render
jq -c '.[] | select(.href == "topic/page.html") | .crumbs' _site/search.json
grep -o 'id="quarto-sidebar-section-1-label">[^<]*' _site/topic/page.html
grep -o 'aria-label="Toggle section: [^"]*"' _site/topic/page.html
Actual behavior
["Guide","[]{.bi .bi-signpost-split aria-hidden=true} Guide","[]{.bi .bi-globe2 aria-hidden=true} Websites","Topic page"]
id="quarto-sidebar-section-1-label">[]{.bi .bi-signpost-split aria-hidden=true} Guide
aria-label="Toggle section: []{.bi .bi-signpost-split aria-hidden=true} Guide"
The breadcrumb on the same page renders both spans as icons.
Expected behavior
The section title renders the same way with or without href.
Search crumbs and the toggle aria-label use the plain text, here Guide and Websites.
Your environment
- IDE: none, command line.
- OS: macOS 27.0.
- The same output comes from a current development build (99.9.9).
Quarto check output
Quarto 1.11.6
[✓] Checking environment information...
Quarto cache location: /Users/mcanouil/Library/Caches/quarto
Project root: /private/tmp/claude-501/-Users-mcanouil-Projects-quarto-dev-quarto-web/e598806e-b79f-4883-9554-648d53816f11/scratchpad/repro-sidebar
Project config: /private/tmp/claude-501/-Users-mcanouil-Projects-quarto-dev-quarto-web/e598806e-b79f-4883-9554-648d53816f11/scratchpad/repro-sidebar/_quarto.yml
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.7.14: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.11.6
Path: /private/tmp/claude-501/-Users-mcanouil-Projects-quarto-dev-quarto-web/e598806e-b79f-4883-9554-648d53816f11/scratchpad/quarto-1.11.6/bin
[✓] Checking tools....................OK
TinyTeX: v2026.07
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/mcanouil/Library/TinyTeX/bin/universal-darwin
Version: 2026
[✓] Checking Chrome Headless....................OK
Using: Chrome from QUARTO_CHROMIUM
Path: /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
[✓] Checking basic markdown render....OK
ℹ R version 4.6.1 (2026-06-24)
! Config '~/.Rprofile' was loaded!
[✓] Checking R installation...........OK
Version: 4.6.1
Path: /Library/Frameworks/R.framework/Versions/4.6/Resources
LibPaths:
- /Users/mcanouil/Library/R/arm64/4.6/library
- /Library/Frameworks/R.framework/Versions/4.6/Resources/library
knitr: 1.51
rmarkdown: 2.31
[✓] Checking Knitr engine render......OK
[✓] Checking Python 3 installation....OK
Version: 3.12.13
Path: /Users/mcanouil/Projects/quarto-dev/quarto-web/.venv/bin/python3
Jupyter: 5.9.1
Kernels: julia-1.12, python3
[IPKernelApp] WARNING | Kernel is running over TCP without encryption. All communication (including code and outputs) is sent in plain text and is susceptible to eavesdropping. Use IPC transport or launch with kernel manager-provisioned CurveZMQ keys to enable transport encryption.
[✓] Checking Jupyter engine render....OK
[✓] Checking Julia installation...
- Ngôn ngữ chính
- JavaScript
- Star
- 6.2k
- Fork
- 492
- Merge trung bình
- 15 giờ 15 phút
- Pull request đã merge (30 ngày)
- 94
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto-cli
-
bootstrap enhancement themes
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
quarto-dev/quarto-cli#15421 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
quarto-dev/quarto-cli#15408 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
quarto-dev/quarto-cli#15401 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug callouts docx regression
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 81/100
quarto-dev/quarto-cli#15394 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug lightbox
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
quarto-dev/quarto-cli#15393 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/quarto-cli
Issue tương tự
-
bug help wanted
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
LangerSword/gitone#7 ·
-
good first issue reliability security should-have
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 13 ngày
-
[BUG]: chunkSource protocol stripping truncates URLs or reads an inner schemeCó thể đã có người làm @Bensonbenyi đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Mintplex-Labs/anything-llm#7338 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày