Skip to content

[codex] add rel to issue preview links#708

Open
Sean-Kenneth-Doherty wants to merge 1 commit into
firstcontributions:mainfrom
Sean-Kenneth-Doherty:codex/add-rel-to-issue-links
Open

[codex] add rel to issue preview links#708
Sean-Kenneth-Doherty wants to merge 1 commit into
firstcontributions:mainfrom
Sean-Kenneth-Doherty:codex/add-rel-to-issue-links

Conversation

@Sean-Kenneth-Doherty
Copy link
Copy Markdown

Summary

  • add rel="noopener noreferrer" to issue preview links that open in a new tab
  • keep the issue preview fetch and rendering behavior unchanged

Why

This closes a small best-practices/security gap in the project issue previews: the links already use target="_blank", so they should also declare the relationship attributes.

Related to #347.

Validation

  • git diff --check
  • GITHUB_TOKEN=$(gh auth token) pnpm build

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.

1 participant