alshedivat/al-folio

Distill TOC not working with apostrophe

Open

#3236 opened on Jul 12, 2025

View on GitHub
 (4 comments) (0 reactions) (0 assignees)HTML (15,603 stars) (12,991 forks)batch import
bughelp wanted

Description

Have you checked that your issue isn't already filed?

  • I read through FAQ and searched through the past issues, none of which addressed my issue.
  • Yes, I have checked that this issue isn't already filed.

Bug description

This appears to be the same issue as https://github.com/alshedivat/al-folio/issues/489, which said it was fixed but I'm still having the issue. If my section or subsection title contains an apostrophe ('), the Distill TOC does not work.

How to reproduce the bug

Same as previous issue.

Error messages and logs

The error message you got, with the full traceback if available. Please paste it between these triple backticks.

What operating system are you using?

Mac

Where are you seeing the problem on?

Deployed site

More info

Example website:

https://goombalab.github.io/blog/2025/hnet-past/#u-nets-don-39-t-work-for-language

(from the blog: https://goombalab.github.io/blog/2025/hnet-past/)

Contributor guide