Skip to content

list in directive parsed as spread: true unexpectedly with indentsย #13

@JounQin

Description

@JounQin

Initial checklist

Affected package

mdast-util-directive

Steps to reproduce

https://astexplorer.net/#/gist/cfda1b4fd45ed9456930ed22b96f4eb4/5571d1f816f9ac0767d2583786fae298877e06c7

Actual behavior

The first list in containerDirective has spread: true, the second list not in containerDirective has spread: false.

Expected behavior

Both should have spread: false

Runtime

v18.20.5

Package manager

yarn@4

Operating system

mac 15.2

Build and bundle tools

No response

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