alshedivat/al-folio

Distill TOC not working with apostrophe

クローズ

#3,236 opened on 2025/07/12

 (5 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (13,093 件のフォーク)batch import
bughelp wantedwontfix

Repository metrics

Stars
 (16,011 個のスター)
PR merge metrics
 (平均マージ 9h 11m) (30d で 2 merged PRs)

説明

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

コントリビューターガイド