Skip to content

bug/WC-394: Format dataset LD-JSON with double quotes in template#1701

Merged
jarosenb merged 1 commit intomainfrom
bug/WC-394--fix-rich-results
Mar 17, 2026
Merged

bug/WC-394: Format dataset LD-JSON with double quotes in template#1701
jarosenb merged 1 commit intomainfrom
bug/WC-394--fix-rich-results

Conversation

@jarosenb
Copy link
Copy Markdown
Member

@jarosenb jarosenb commented Mar 9, 2026

Overview:

The LD+JSON rich text representation for each dataset was being templated in with single quotes instead of double quotes, causing parsing issues for search engines. This diff formats the context as proper JSON.

PR Status:

  • Ready.
  • Work in Progress.
  • Hold.

Related Jira tickets:

Summary of Changes:

Testing Steps:

  1. Visit a publication in your browser
  2. In dev tools, look for a <script type="application/ld+json"> tag with properly formated JSON (double quotes instead of single quotes).

UI Photos:

Notes:

Copy link
Copy Markdown

@taoteg taoteg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@jarosenb jarosenb merged commit 1302e2f into main Mar 17, 2026
5 checks passed
@jarosenb jarosenb deleted the bug/WC-394--fix-rich-results branch March 17, 2026 14:01
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