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

Fix tags field for myst_parser #119

Merged
merged 2 commits into from
Jan 1, 2022
Merged

Fix tags field for myst_parser #119

merged 2 commits into from
Jan 1, 2022

Conversation

ousttrue
Copy link
Contributor

@ousttrue ousttrue commented Jan 1, 2022

Description

Markdown post with tags field in front-matter has format mismatch.

---
tags: ["a", "b"]
---

Interpreted as ["a" and "b"].

I'm fix it.

This is caused in
https://github.com/executablebooks/MyST-Parser/blob/885651fc4e25dbac414c20cfe8fe3232ba4e833b/myst_parser/docutils_renderer.py#L823

And metadata['tags'] store ["a", "b"] text.

Thank you.

@nabobalis
Copy link
Contributor

Thanks.

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

Successfully merging this pull request may close these issues.

2 participants