Closed
Description
- I confirm that this is an issue rather than a question.
Bug report
Steps to reproduce
- Create a test folder
- Put a README.md file in it
- put the following text:
## 联系方式
Content ....
## 关于我
Content ....
## 开源推荐
Content ....
- Launch
vuepress dev
- Enter the URL http://localhost:8080/#关于我
What is expected?
The browser should display the page scrolled at that 关于我 title position.
What is actually happening?
No reaction, at the top
Other relevant information
The title contains non ANSI characters
Console error:
[Vue warn]: Error in nextTick: "SyntaxError: Failed to execute 'querySelector' on 'Document': '#%E8%81%94%E7%B3%BB%E6%96%B9%E5%BC%8F' is not a valid selector."
- Output of
npx vuepress info
in my VuePress project:
System:
OS: Windows 10 10.0.18363
CPU: (4) x64 Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
Binaries:
Node: 14.7.0 - E:\nodejs\node.EXE
Yarn: 1.22.4 - E:\nodejs\node_global\yarn.CMD
npm: 6.14.7 - E:\nodejs\npm.CMD
Browsers:
Chrome: Not Found
Edge: Spartan (44.18362.449.0)
npmPackages:
@vuepress/core: 1.5.3
@vuepress/theme-default: 1.5.3 (1.1.0)
vuepress: ^1.5.3 => 1.5.3
npmGlobalPackages:
vuepress: Not Found