-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
Inconsistent search and body rendering #1118
Comments
could u show me which version u work on? #/question?id=fatal-error-39opensslsslh39-file-not-found |
@anikethsaha could you investigate it also. |
@sy-records can you submit a reproducible sandbox for this |
Sorry, I will not use sandbox, I provided a test address. @anikethsaha @Koooooo-7 You can search |
thx for ur report. |
But because of the different URLs, the corresponding IDs are also different. In this case, the jump cannot find the correct place. |
The problem may appear here. Use docsify/src/plugins/search/search.js Line 69 in 39320bb
docsify/src/core/render/slugify.js Line 10 in 39320bb
|
thx for the input . 👍 feel free to investigate and submit the fix. |
Bug Report
Steps to reproduce
What is current behaviour
The link when searching is
/question/install?id=fatal-error-opensslsslh-file-not-found
The link when body is
/question/install?id=fatal-error-39opensslsslh39-file-not-found
What is the expected behaviour
/question/install?id=fatal-error-39opensslsslh39-file-not-found
Or just keep it consistent
Other relevant information
Bug does still occur when all/other plugins are disabled?
Your OS:
Node.js version:
npm/yarn version:
Browser version:
Docsify version:
Docsify plugins:
Please create a reproducible sandbox
Mention the docsify version in which this bug was not present (if any)
The text was updated successfully, but these errors were encountered: