Skip to content

docs(router): fix duplicated word in UrlTree comment#67372

Open
Rohan5commit wants to merge 1 commit intoangular:mainfrom
Rohan5commit:docs-typo-20260301-angular-angular-104705
Open

docs(router): fix duplicated word in UrlTree comment#67372
Rohan5commit wants to merge 1 commit intoangular:mainfrom
Rohan5commit:docs-typo-20260301-angular-angular-104705

Conversation

@Rohan5commit
Copy link

@Rohan5commit Rohan5commit commented Mar 1, 2026

PR Checklist

Please check if your PR fulfills the following requirements:

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
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

A duplicated word appears in a router comment in packages/router/src/url_tree.ts:
if is is not one of these characters, then the segment was unescaped

Issue Number: N/A

What is the new behavior?

Removes the duplicate word:
if is not one of these characters, then the segment was unescaped

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This is a comment-only wording fix in router parsing docs/comments; no runtime behavior changes.

@pullapprove pullapprove bot requested a review from JeanMeche March 1, 2026 02:47
@google-cla
Copy link

google-cla bot commented Mar 1, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@angular-robot angular-robot bot added the area: docs Related to the documentation label Mar 1, 2026
@ngbot ngbot bot added this to the Backlog milestone Mar 1, 2026
@Rohan5commit Rohan5commit changed the title docs: fix duplicated word in UrlTree comment docs(router): fix duplicated word in UrlTree comment Mar 1, 2026
const next = this.remaining[path.length];

// if is is not one of these characters, then the segment was unescaped
// if is not one of these characters, then the segment was unescaped
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// if is not one of these characters, then the segment was unescaped
// if it is not one of these characters, then the segment was unescaped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Related to the documentation cla: no

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants