Skip to content

Fatal error: Unknown cmark node type 'attribute' #90

@gfinger

Description

@gfinger

Initializing a Document with a string containing custom attributes like
^[bla](xyz: 'abc')
bringsup a fatal error: Markdown/CommonMarkConverter.swift:139: Fatal error: Unknown cmark node type 'attribute' encountered during conversion`.
Entering any text as input for a Document must never end up in a fatal error. The Document is often directly initialised from a user input, which must never stop the execution of the program. A simple fix would just ignore all unknown node types.

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