Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix: support toc auto heightlight for hexo v6 #339

Merged
merged 1 commit into from
Jul 8, 2022
Merged

🐛 Fix: support toc auto heightlight for hexo v6 #339

merged 1 commit into from
Jul 8, 2022

Conversation

EsunR
Copy link
Contributor

@EsunR EsunR commented Jul 7, 2022

在 hexo v6 版本中沿用了 hexo v5 生成 toc 的辅助函数,在之前的修复中只兼容了 hexo v5 对该函数的兼容,导致 hexo v6 的目录自动高亮功能失效,现改为 hexo v5 以及其以上版本都使用 encodeURI 来判断目录是否高亮

@Molunerfinn Molunerfinn merged commit 98455c6 into Molunerfinn:dev Jul 8, 2022
@Molunerfinn
Copy link
Owner

感谢贡献!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants