Skip to content

feat: links to section within the same page should not reload page #91

@ayo-run

Description

@ayo-run

In the cozify() function within utils/sanitizer.ts, if the href value of an a element is within same article, it is most likely just to an article section

Set the value of href so that it only has the section url prepended by #

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions