Skip to content

Listing page categories are not working properly if spaces or non ascii chractersΒ #11752

@mcanouil

Description

@mcanouil

Bug description

With a category such as "news with code" or "🎬", the link to filter on category works as expected inside the blog post but does not on the main listing page in the post description (the "category side bar" filters properly).

Screen.Recording.2024-12-29.at.20.52.08.mov

Short version:

Screen.Recording.2024-12-29.at.20.53.19.mov

Steps to reproduce

quarto create project website issueXXXXX issueXXXXX
sed -i '' 's/news/"new with code"/' posts/post-with-code/index.qmd 

Expected behavior

The category link on the listing main page description should filter properly as the link on the "category side bar" and in the document itself.

Actual behavior

Category link in description does lead to match.

Your environment

MacOS latest

Quarto check output

Quarto 99.9.9
[βœ“] Checking environment information...
      Quarto cache location: /Users/mcanouil/Library/Caches/quarto
[βœ“] Checking versions of quarto binary dependencies...
      Pandoc version 3.4.0: OK
      Dart Sass version 1.70.0: OK
      Deno version 1.46.3: OK
      Typst version 0.11.0: OK
[βœ“] Checking versions of quarto dependencies......OK
[βœ“] Checking Quarto installation......OK
      Version: 99.9.9
      commit: 91030114b721b67f49dc59284688c262efd8ee83
      Path: /Users/mcanouil/Projects/quarto/quarto-cli/package/dist/bin

[βœ“] Checking tools....................OK
      TinyTeX: v2024.11
      Chromium: (not installed)

[βœ“] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/mcanouil/Library/TinyTeX/bin/universal-darwin
      Version: 2024

[βœ“] Checking basic markdown render....OK

[βœ“] Checking Python 3 installation....OK
      Version: 3.13.1
      Path: /Users/mcanouil/Projects/quarto/quarto-playground/.venv/bin/python3
      Jupyter: 5.7.2
      Kernels: julia-1.11, python3

[βœ“] Checking Jupyter engine render....OK

(|) Checking R installation...........β„Ή R version 4.4.2 (2024-10-31)
! Config '~/.Rprofile' was loaded!
[βœ“] Checking R installation...........OK
      Version: 4.4.2
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library
      knitr: 1.46
      rmarkdown: 2.26

[βœ“] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinglistingsregressionFunctionality that used to work but now is broken.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions