Skip to content

docs: open external anchors in adev markdown in a new tab#68762

Open
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:docs-open-external-anchors-in-new-tab
Open

docs: open external anchors in adev markdown in a new tab#68762
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:docs-open-external-anchors-in-new-tab

Conversation

@erkamyaman
Copy link
Copy Markdown
Contributor

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other

What is the current behavior?

Several markdown pages in adev/src/content use raw HTML <a> elements
that link to external sites without target="_blank". Because the
anchors are written as HTML rather than markdown link syntax, they
bypass the marked link renderer that normally adds target="_blank" to
external links. As a result, clicking these links navigates the user
away from angular.dev in the same tab.

Affected anchors include the Firebase Studio link on the AI page, the
Firebase / Tensorflow / Flutter / Material Design / Google Cloud
partner links on the "What is Angular" page, the Google Fonts link in
the roadmap, and the Microsoft PowerShell execution policy link in the
CLI setup guide.

What is the new behavior?

The affected anchors now carry target="_blank" so external URLs open
in a new tab, matching both the surrounding raw HTML anchors in each
file and what the marked link renderer emits for external markdown
links.

Does this PR introduce a breaking change?

  • Yes
  • No

Several raw HTML `<a>` anchors in adev markdown link to external
sites without `target="_blank"`, so they open in the same tab
instead of a new one like the rest of the site's external links.
Add `target="_blank"` to match.
@pullapprove pullapprove Bot requested a review from josephperrott May 17, 2026 07:45
@angular-robot angular-robot Bot added the area: docs Related to the documentation label May 17, 2026
@ngbot ngbot Bot added this to the Backlog milestone May 17, 2026
@JeanMeche JeanMeche added action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release labels May 17, 2026
@JeanMeche JeanMeche removed the request for review from josephperrott May 17, 2026 09:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: docs Related to the documentation target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants