Skip to content

Broken Stringify a list item #358

@artalar

Description

@artalar

Subject of the issue

Broken Stringify a list item

Your environment

  • windows 7
  • Names and version of required packages
  • remark@9.0.0, remark-stringify@5.0.0

Steps to reproduce

if (node.type === 'list') node.children.map(remark().stringify)

https://codesandbox.io/s/81kw44yowj

Expected behaviour

return array of strings

Actual behaviour

TypeError: Cannot read property 'length' of undefined

this listItem call paste not enough arguments

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