Fix deep-inspection article quality: titles, i18n, CSP hashes, doc-analysis markup, lang switchers, ******#1081
Merged
pethers merged 2 commits intonews/deep-inspection-2026-03-12-betald-polisutbildning-1686e6c8ca78187bfrom Mar 12, 2026
Conversation
…g switchers, Bearer prefix Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add paid police education proposal article
Fix deep-inspection article quality: titles, i18n, CSP hashes, doc-analysis markup, lang switchers, ******
Mar 12, 2026
6d676b0
into
news/deep-inspection-2026-03-12-betald-polisutbildning-1686e6c8ca78187b
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.
Review feedback on the paid police education deep-inspection PR identified generic titles, raw Markdown leaking into rendered HTML, broken language links pointing to non-existent files,
script-src 'unsafe-inline'CSP, and incomplete Swedish translations. Also fixes a latent auth bug where legacy"******"config values were passed raw to the MCP gateway.EN article
<title>, og/twitter meta,<h1>×2, JSON-LDheadline, and BreadcrumbList# heading+ duplicate[text](url)×2) →<h4>+ single<a>presstraff om forslag om betald polisutbildning→Pressträff om förslag om betald polisutbildningscript-src 'unsafe-inline'→ four sha256 hashes (anti-flash + 3× JSON-LD)SV article
All EN fixes above, plus:
index.html→index_sv.html1 min read→1 min läsning(body +twitter:data1)Parlamentarisk analys, "Document Types" →Dokumenttyper, "Stakeholders" →Intressenter, "Policy Domains" →PolicyområdenMCP auth — legacy
Bearerprefix strippingscripts/mcp-client/client.ts— Priority 4 path now strips prefix:JSDoc updated to remove the contradictory "requires a ******" statement.
scripts/mcp-setup.sh— robust case-insensitive strip viased:🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.