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

Double quotes in titles aren't properly escaped in frontmatter #22

Open
vladiliescu opened this issue May 4, 2024 · 0 comments
Open

Comments

@vladiliescu
Copy link

I'm using the git version of gather-cli, built from source, invoked with these parameters: $GATHER_BIN $1 --file %title.md --inline-links --metadata-yaml --include-title --include-comments --fallback-title 'webclip %date' --no-include-source

The url in question is https://www.niemanlab.org/2018/02/last-blog-standing-last-guy-dancing-how-jason-kottke-is-thinking-about-kottke-org-at-20/

The issue is that the frontmatter is not output correctly, which is only apparent when opening it in Obsidian :). What happens is that the title is correctly surrounded by double quotes, but the double quotes already inside the title are not escaped.

---
title: "Last blog standing, "last guy dancing": How Jason Kottke is thinking about kottke.org at 20 | Nieman Journalism Lab"
source: https://www.niemanlab.org/2018/02/last-blog-standing-last-guy-dancing-how-jason-kottke-is-thinking-about-kottke-org-at-20/
date: 2024-05-04 13:49
---
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

1 participant