fix: sidebar active class and expand don't work as expect when use "space" in markdown filename by enzy · Pull Request #1454 · docsifyjs/docsify

Summary

This PR fixes URL decoding problem in sidebar, reported in #1032. It builds on previous work in #1043, but with rebased and updated fix (just 1 line now).

What kind of change does this PR introduce? (check at least one)

  • Bugfix

If changing the UI of default theme, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

  • Yes
  • No

If yes, please describe the impact and migration path for existing applications:

The PR fulfills these requirements:

You have tested in the following browsers: (Providing a detailed version will be better.)

  • Chrome
  • Firefox
  • Safari
  • Edge
  • IE

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature
  • Related documents have been updated
  • Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.