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 for 'Condé Nast' being parsed as author in Embedded Metadata.js #3287

Merged
merged 3 commits into from
Mar 27, 2024

Conversation

geofferb
Copy link
Contributor

@geofferb geofferb commented Mar 27, 2024

This issue has been documented at https://phabricator.wikimedia.org/T298427 and affects all websites owned by Condé Nast, as they contain the tag <meta name="author" content="Condé Nast">.

I've fixed this by adding a check for "Condé Nast" when the metadata tag is parsed, which allows the correct author to be parsed.

@geofferb geofferb changed the title Fix for 'Condé Nast' being parsed as author in Embedded Meta.js Fix for 'Condé Nast' being parsed as author in Embedded Metadata.js Mar 27, 2024
Embedded Metadata.js Outdated Show resolved Hide resolved
Co-authored-by: Abe Jellinek <jellinek@berkeley.edu>
@AbeJellinek AbeJellinek merged commit ff73d0d into zotero:master Mar 27, 2024
1 check passed
@AbeJellinek
Copy link
Member

Thank you!

@geofferb geofferb deleted the conde-nast-fix branch March 27, 2024 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants