Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing with metadata in ClojureScript seams broken #184

Open
hiram-madelaine opened this issue Apr 28, 2022 · 2 comments
Open

Parsing with metadata in ClojureScript seams broken #184

hiram-madelaine opened this issue Apr 28, 2022 · 2 comments

Comments

@hiram-madelaine
Copy link

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

@yogthos
Copy link
Owner

yogthos commented Apr 28, 2022

Would you be open to do a PR for the fix?

@hiram-madelaine
Copy link
Author

Yes of course

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants