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

🐛 correctly parse URLs in gdoc front matter #3526

Merged
merged 2 commits into from
May 7, 2024

Conversation

ikesau
Copy link
Member

@ikesau ikesau commented Apr 22, 2024

posts_gdocs.content->>"$.grapher-url" was being saved as <a href="https://ourworldindata.org/grapher/some-slug">https://ourworldindata.org/grapher/some-slug</a> due to Google's automatic linkifying.

It's not rendered anywhere, and we were extracting it correctly for thegdocs_posts_links table, hence us not catching it till now.

So, this PR's of arguable utility, but it feels like it ought to be correct.

@ikesau ikesau requested a review from marcelgerber April 22, 2024 16:35
@ikesau ikesau self-assigned this Apr 22, 2024
@ikesau ikesau force-pushed the data-insight-grapher-url-links branch from 2776e0e to 489c854 Compare April 22, 2024 17:02
@ikesau ikesau merged commit 75ac0db into master May 7, 2024
22 checks passed
@ikesau ikesau deleted the data-insight-grapher-url-links branch May 7, 2024 20:14
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