Skip to content

fix(links): strip whitespace inside non-external anchors - #1909

Closed
caugner wants to merge 1 commit into
external-link-whitespacefrom
trim-non-external-link-whitespace
Closed

caugner wants to merge 1 commit into
external-link-whitespacefrom
trim-non-external-link-whitespace

Conversation

@caugner

@caugner caugner commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Description

Remove leading and trailing whitespace inside 36 non-external anchors across 26 component files.

Motivation

Keep link boundaries consistent and remove unnecessary whitespace from rendered links.

Additional details

Covers text links, buttons, images, and cards. Uses formatting that Prettier preserves.

Validation: Prettier, ESLint, Lit analysis, and type checking pass.

Related issues and pull requests

Stacked on #1885 to keep external and non-external link changes in separate reviews.

@caugner
caugner added this pull request to stack #1910 September 14, 2026 15:59
@caugner
caugner marked this pull request as ready for review September 14, 2026 15:59
@caugner
caugner requested a review from a team as a code owner September 14, 2026 15:59
@caugner
caugner requested a review from LeoMcA September 14, 2026 15:59
@github-actions

Copy link
Copy Markdown
Contributor

f1e6af2 was deployed to: https://fred-pr1909.review.mdn.allizom.net/

@caugner

caugner commented Sep 17, 2026

Copy link
Copy Markdown
Contributor Author

Closing following discussion with Leo.

@caugner caugner closed this Sep 17, 2026
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.

2 participants