Skip to content

Use of commas in section key breaks sub-navigation, breadcrumbs and search #423

@johnpauldickie

Description

@johnpauldickie

Issue

When the section key includes commas in a page front matter (for example Publish, update or retire), it breaks the sub-navigation, breadcrumbs and search.

For the sub-navigation, the page (and any child pages) no longer appear in the sub-navigation and the sub-navigation doesn't appear on pages with the section key.

For the breadcrumbs, the page no longer shows breadcrumbs at all.

In search results, pages no longer appear in search where the section key includes a comma.

Attempted fixes

I've attempted to use standard ways to show that it's one string (rather than two), for example wrapping it in quotes (single and double) and using square brackets with quotes however non of these have fixed the issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions