Skip to content

Link doesn't work for nodes with multiple words  #54

@LunarMarathon

Description

@LunarMarathon

Describe the bug
The text content is taken to create the id for the row. And again the content is matched with id to scroll to that row. So when 'Climate change' is added (this is just one i/p), the id becomes Climate and then Climate change doesn't get matched with Climate so the click doesn't work or goes to the top of the screen.

It needs to be fixed such that the id is different when another word starting with climate is added (id can't be climate for both) as well. So it's better to use the whole word separated by underscore for id and the space b/w the words can be replaced with underscore and matched (The i/p remains the same, w/o underscore)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions