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

Paired tags split attributes across lines too aggressively #13

Closed
aDogCalledSpot opened this issue Jan 28, 2024 · 1 comment
Closed

Comments

@aDogCalledSpot
Copy link

aDogCalledSpot commented Jan 28, 2024

Example:

html! {
    <SomeComponent attr_one=true>
        { "Very long text that will stop these three lines from being merged" }
    </SomeComponent>
}

becomes

html! {
    <SomeComponent
        attr_one=true
    >
        { "Very long text that will stop these three lines from being merged" }
    </SomeComponent>
}

although it should stay the same

its-the-shrimp added a commit that referenced this issue Feb 10, 2024
@its-the-shrimp
Copy link
Owner

Thanks for reporting this, should be fixed in v0.4.0

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

No branches or pull requests

2 participants