Skip to content

Distill TOC not working with apostrophe #3236

@albertfgu

Description

@albertfgu

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 #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/)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions