Skip to content

USWDS-Site - Bug: Remove extra whitespace in identifier links #1928

@mejiaj

Description

@mejiaj

Describe the bug

There are whitespaces being rendered before/after links in identifier. This is causing the external link to break into it's own line in Safari.

Screenshots from uswds/uswds#5046
image

image

Steps to reproduce the bug

  1. Open Safari
  2. Go to https://designsystem.digital.gov/
  3. Inspect identifier required links
  4. Verify white spaces are before/after string

Expected Behavior

There should be no whitespace in rendered text.

Screenshots

No response

System setup

  • Safari Version 16.1 (18614.2.9.1.12)

Additional context

Related to uswds/uswds#5046.

Code of Conduct

Metadata

Metadata

Assignees

Labels

Type: BugA problem in the code

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions