Closed pagyew closed 1 year ago
Indeed, non-docsify links (external links) are currently not working in history router mode. We need to fix this and add tests.
live example: https://docs.lume.io/
I found the issue. It happens when externalLinkTarget: '_self'
is specified. Fix WIP
Bug Report
Steps to reproduce
routerMode
tohistory
.<my@mail.com>
, or any external link.What is current behaviour
Crashes with error:
What is the expected behaviour
Native behaviour
Other relevant information
[x] Bug does still occur when all/other plugins are disabled?
Your OS: macOS Catalina, version 10.15.7
Node.js version: 16.13.2
npm/yarn version: npm v8.1.2
Browser version: Google Chrome 100.0.4896.127
Docsify version: 4.12.2
Docsify plugins: -
Please create a reproducible sandbox
Live example: https://docs.lume.io/
Mention the docsify version in which this bug was not present (if any)