Skip to content

waline notification view page doesn't work for docsify #2019

Closed
@eteeqii

Description

@eteeqii

Bug Report

waline notification view page doesn't work for docsify

Steps to reproduce

  1. install latest docsify and integrated with commenting system waline
  2. create a comment for a specific docsify page
  3. the waline admin would receive the notification mail regarding to the new comment
  4. click the view page in the mail to open the specific page(the url contains the anchor for the comment)

What is current behaviour

click the view page would open below url would see 404 error, nothing would show in the browser.
https://docs.xxx.com/#/%232

since %23 is the URL encoded representation of #
manually try again with url https://docs.xxx.com/#/#2 in the browser
it would show the specific page, but it didn't anchor to the comment with id=2

What is the expected behaviour

click the view page and show the page and anchor to the specific comment

  1. maybe need think about rewrite of %23
  2. let waline div anchor works.

Other relevant information

  • Bug does still occur when all/other plugins are disabled?

  • Your OS: MAC OS 13.3.1 (22E261)

  • Node.js version: FROM node:lts-alpine3.17

  • npm/yarn version:

  • Browser version: Chrome is up to date Version 112.0.5615.49 (Official Build) (arm64)

  • Docsify version: RUN npm install -g docsify-cli@latest

  • Docsify plugins: waline, https://github.com/nopdan/docsify-waline

Please create a reproducible sandbox

Edit 307qqv236

Mention the docsify version in which this bug was not present (if any)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions