Skip to content

Description parsing behaviour for Markdown changed #379

@davidjgoss

Description

@davidjgoss

From v32, Gherkin is getting different results when parsing Markdown, specifically for the description.

This surfaced in the compatibility kit when trying to upgrade to v32:

The critical parts are still fine - the same pickles come out compared to v31 - but there is now a description being picked up:

Image

For reference the sample file being parsed is:
https://github.com/cucumber/compatibility-kit/blob/main/devkit/samples/markdown/markdown.feature.md

So it looks like we are picking up the first row of that table as a description, where before there was none.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions