Skip to content

fix(link): eliminate leading and trailing whitespace by inlining Show wrapper #4281

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

Closed

Conversation

michaelmkraus
Copy link
Contributor

Proposed changes

  • fix(link): eliminate leading and trailing whitespace by inlining Show wrapper
    Remove leading/trailing spaces around the block so that Angular’s generated comments and whitespace no longer produce underlined gaps.

closes #4072

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (fix on existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Copy link
Contributor

<Show when={props.text} else={props.children}>
{props.text}
</Show>
{/* prettier-ignore */}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
{/* prettier-ignore */}
{/* prettier-ignore-next-line */}

wouldn't this work ?

@mfranzke mfranzke added the 🐛bug Something isn't working label Jun 3, 2025
@michaelmkraus
Copy link
Contributor Author

Unfortunately, we need this PR to be merged to solve this issue.

@nmerget
Copy link
Collaborator

nmerget commented Jun 27, 2025

Unfortunately, we need this PR to be merged to solve this issue.

@nmerget nmerget closed this Jun 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DBLink leading/trailing whitespace when using icons
3 participants