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

Fix some whitespace issues #515

Merged
merged 1 commit into from
Nov 6, 2024
Merged

Fix some whitespace issues #515

merged 1 commit into from
Nov 6, 2024

Conversation

Windvis
Copy link
Contributor

@Windvis Windvis commented Nov 5, 2024

Some of our components generate inline(-*) elements which are affected by surrounding whitespace. We used a {{~!~}} comment for most of these cases, but it seems comments are stripped in production builds, even if the comment also has whitespace stripping enabled.

As a workaround we now remove the actual whitespace from the source code, even though it makes things harder to read.

Once we convert to a v2 addon we can strip the whitespace at build time and revert this change.

Closes #509

Some of our components generate inline(-*) elements which are affected by surrounding whitespace. We used a `{{~!~}}` comment for most of these cases, but it seems comments are stripped in production builds, even if the comment also has whitespace stripping enabled.

As a workaround we now remove the actual whitespace from the source code, even though it makes things harder to read.

Once we convert to a v2 addon we can strip the whitespace at build time.
@Windvis Windvis added the bug Used when the PR fixes a bug included in a previous release. label Nov 5, 2024
@Windvis Windvis merged commit ecbd9fe into master Nov 6, 2024
9 checks passed
@Windvis Windvis deleted the fix/whitespace-issues branch November 6, 2024 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Used when the PR fixes a bug included in a previous release.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Whitespace issues
1 participant