Skip to content

static site generator breaking on nested code blocks #2976

@songololo

Description

@songololo

Information:
v1.23 and v1.24 both caused this behaviour.

Description
I don't understand exactly what would have changed, but recently the gridsome static site generator started breaking when processing nested syntax code blocks. This presumably occurred with the latest release.

It can be fixed by adding a check for whether document exists in the current context.
#2975

Additional description and examples in the related gridsome repo:
gridsome/gridsome#1524

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