Skip to content

Local graph fails on pages with encoded characters in the URL #2

Description

@CraftSpider

When a page contains encoded characters, such as { or }, in its title, then the local graph fails to render. The root node displays an incorrect label with the encoded characters - %7BFoo%7D as an example, and no other nodes. Non-root situations work fine - if Foo links to {Foo}, its local graph renders correctly with {Foo} as a child node.

Reproduction

Put the following files in the content folder:

Foo.md

[[{Foo}]]

{Foo}.md

[[Foo]]

Then run npx quartz build --serve

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions