Skip to content

links not working properly for quoted headings #1965

Description

@yogitheboss

Bug Report

Steps to reproduce

create a navigation list using

  • heading
  • heading
    if we create a heading
    "link1_heading"
    "link2_heading"
    the links doesn't work in docsify generated webpage as the id attribute is "quotlink1_headingquot"

What is current behaviour

the links doesn't work if quotation is included in the name , as id generated of the heading is quot_id_quot instead of quot .

What is the expected behavior

the links should work fine as the readme file treats quotes and no quotes the same

Other relevant information

this bug is causing the https://p5js.org/contributor-docs/#/./contributor_guidelines page's some links to not work
eg. "found a bug" , "Existing Feature Enhancement" etc.
New Feature Request
Discussion"

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

  • Your OS: windows 10

  • Node.js version: v16.13.2.

  • npm/yarn version: v8.3.2

  • Browser version: v109.0.5414.75

  • Docsify version: 4.4.4

  • Docsify plugins:

Please create a reproducible sandbox

Edit 307qqv236

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions