Skip to content

Parsing with metadata in ClojureScript seams broken #184

@hiram-madelaine

Description

@hiram-madelaine

Whenever I try to parse with metadata in ClojureScript I have the pre assertion (sequential? lines-seq)
that prevent the execution of the function : markdown.transformers/parse-metadata-headers
It seems that the problem comes from the splitting of the lines (.split (str text "\n") "\n") that yields a JS array.
Using clojure.string ns could resolve the problem (clojure.string/split (str text "\n") "\n") ?

Thank you very much

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions