fix: remove malformed bare NewsArticle from JSON-LD in all 14 news index files#498
Merged
pethers merged 2 commits intonews-realtime/2026-02-24-1030-4fb2b8fdc2e10b86from Feb 24, 2026
Conversation
…dex files Co-authored-by: pethers <[email protected]>
Copilot
AI
changed the title
[WIP] Add five propositions on civilian defence and psychological violence
fix: remove malformed bare NewsArticle from JSON-LD in all 14 news index files
Feb 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A duplicate bare
NewsArticleobject was injected between ListItem position 2 and position 3 in all 14 news index files during the merge conflict resolution, producing invalid JSON-LD that breaks structured data parsing by search engines.Root cause
The malformed block lacked a
ListItemwrapper and left a spurious trailing comma on theitemfield of position 2:Changes
NewsArticleblock and fixed the trailing comma in all 14 language index files (index.html,index_ar,index_da,index_de,index_es,index_fi,index_fr,index_he,index_ja,index_ko,index_nl,index_no,index_sv,index_zh)ListItementries each💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.