Skip to content

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

Closed
@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

    👀 no/externalThis makes more sense somewhere else👎 phase/noPost cannot or will not be acted on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions