Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing whitespace in rendered LinkComponent #1274

Merged
merged 2 commits into from
Aug 4, 2022
Merged

Conversation

jonrohan
Copy link
Member

@jonrohan jonrohan commented Aug 3, 2022

This fixes a regression caused by #1260

image

We had this issue before and tested for extra whitespace inside of links, but didn't test for extra whitespace outside.

I adjusted the test and moved the code back to the call def.

@changeset-bot
Copy link

changeset-bot bot commented Aug 3, 2022

🦋 Changeset detected

Latest commit: 3d22e06

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@primer/view-components Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@jonrohan jonrohan marked this pull request as ready for review August 3, 2022 23:48
@jonrohan jonrohan requested review from a team and camertron August 3, 2022 23:48
@jonrohan jonrohan enabled auto-merge (squash) August 3, 2022 23:48
@jonrohan jonrohan temporarily deployed to github-pages August 3, 2022 23:52 Inactive
@jonrohan jonrohan merged commit c153f73 into main Aug 4, 2022
@jonrohan jonrohan deleted the fix_inline_link_render branch August 4, 2022 17:07
@primer-css primer-css mentioned this pull request Aug 4, 2022
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