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

点击文章中文目录跳转无法实现 #1547

Closed
3 tasks done
sudatime opened this issue Aug 15, 2020 · 3 comments
Closed
3 tasks done

点击文章中文目录跳转无法实现 #1547

sudatime opened this issue Aug 15, 2020 · 3 comments

Comments

@sudatime
Copy link

sudatime commented Aug 15, 2020

Please follow this Issue template to provide relevant information, such as source code repositories, blog links, and screenshots, which will help us investigate.
请按照此 Issue 模版提供相关信息,例如源码仓库、博客链接和屏幕截图,这将有助于我们进行调查。

Issue Checklist

  • I am using the latest version of NexT.
  • I have read the relevant documents of Hexo and NexT.
  • I have reviewed the latest Roadmap on GitHub and searched for current issues, which does not help me.

Expected behavior

点击标题可以实现跳转至标题处

Actual behavior

点击的标题如果是中文标题无法跳转,但如果是英文标题可以

  • Links to demo site with this issue:
  • Links to repository or source code of the blog:

Steps to reproduce the behavior

点击测试文章的目录即可重现

Environment Information

Node.js and NPM Information

$ npm -v
6.14.6
$ node -v
v12.18.3

Package dependencies Information

+-- hexo@5.0.0
+-- hexo-abbrlink@2.2.1
+-- hexo-asset-image@1.0.0
+-- hexo-deployer-git@2.1.0
+-- hexo-generator-archive@1.0.0
+-- hexo-generator-baidu-sitemap@0.1.9
+-- hexo-generator-category@1.0.0
+-- hexo-generator-feed@3.0.0
+-- hexo-generator-index@1.0.0
+-- hexo-generator-json-content@4.2.3
+-- hexo-generator-searchdb@1.3.2
+-- hexo-generator-sitemap@2.1.0
+-- hexo-generator-tag@1.0.0
+-- hexo-renderer-ejs@1.0.0
+-- hexo-renderer-marked@3.0.0
+-- hexo-renderer-stylus@1.1.0
`-- hexo-server@1.0.0

Hexo Configuration

Other Information

/js/utils.js报错如下
image
但是英文标题没有这样的错误

=====================
更新:已发现官方的更新提交
image

@welcome
Copy link

welcome bot commented Aug 15, 2020

Thanks for opening this issue, maintainers will get back to you as soon as possible!

@issue-label-bot
Copy link

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

@sli1989
Copy link
Collaborator

sli1989 commented Aug 27, 2020

fixed in #1540

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

No branches or pull requests

2 participants