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

[Formatting Bug]: spaces contained in string are broken up when wrapping text. #835

Open
rikvdh opened this issue Mar 20, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Stale Stale label

Comments

@rikvdh
Copy link

rikvdh commented Mar 20, 2024

Platform

Windows

Template before formatting

@canany([
    'Lorem ipsum dolor sit amet',
    'consectetur adipiscing elit',
    'Phasellus magna urna',
    'fermentum sit amet lectus nec',
    'aliquet finibus velit',
    ])
@endcan

Template after formatting

@canany(['Lorem ipsum dolor sit amet', 'consectetur adipiscing elit', 'Phasellus magna urna', 'fermentum sit amet lectus
    nec', 'aliquet finibus velit'])
@endcan

Expected Behaviour

The spaces contained inside strings should not be broken up. There are multiple ways of formatting this, but the whitespace in strings should be retained as it.

Relevant log output

No response

@rikvdh rikvdh added the bug Something isn't working label Mar 20, 2024
@shufo
Copy link
Owner

shufo commented Mar 20, 2024

Thanks for the report!
It should be fixed. I'll look into it.

Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale Stale label label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale Stale label
Projects
None yet
Development

No branches or pull requests

2 participants