Skip to content

docs: add missing space before decorator link in components guide#69479

Open
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:docs-essentials-component-decorator-spacing
Open

docs: add missing space before decorator link in components guide#69479
erkamyaman wants to merge 1 commit into
angular:mainfrom
erkamyaman:docs-essentials-component-decorator-spacing

Conversation

@erkamyaman

Copy link
Copy Markdown
Contributor

The @Component inline-code span was directly adjacent to the [decorator](...) link, rendering as a mashed-together token in the source. Added a space so it reads "A @Component [decorator] that..." as intended.

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?

In the "Defining a component" essentials guide, `@Component`[decorator](...)
had no space between the inline-code span and the link, so the source reads as
one mashed-together token. It only appears spaced in the rendered page because
of the inline-code background padding.

image

What is the new behavior?

Added a single space so the source reads `@Component` [decorator](...).
Renders identically/cleaner and is correct in the markdown source.

image

Does this PR introduce a breaking change?

  • Yes
  • No

The `@Component` inline-code span was directly adjacent to the
`[decorator](...)` link, rendering as a mashed-together token in the
source. Added a space so it reads "A `@Component` [decorator] that..."
as intended.
@pullapprove pullapprove Bot requested a review from JeanMeche June 23, 2026 09:22
@angular-robot angular-robot Bot added the area: docs Related to the documentation label Jun 23, 2026
@ngbot ngbot Bot added this to the Backlog milestone Jun 23, 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 Jun 23, 2026
@aparzi

aparzi commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Nice catch!

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.

3 participants