Skip to content

[Turbo] delete whitespace for <twig:Turbo:Stream:*> components#2300

Merged
Kocal merged 1 commit into
symfony:2.xfrom
seb-jean:2.x
Oct 25, 2024
Merged

[Turbo] delete whitespace for <twig:Turbo:Stream:*> components#2300
Kocal merged 1 commit into
symfony:2.xfrom
seb-jean:2.x

Conversation

@seb-jean

@seb-jean seb-jean commented Oct 25, 2024

Copy link
Copy Markdown
Contributor
Q A
Bug fix? yes
New feature? no

I added whitespace trimming for delete a whitespace for <twig:Turbo:Stream:*> components.

Example with below code:

<twig:Turbo:Stream:Append target="#count-post">
    <div>12</div>
</twig:Turbo:Stream:Append>

Before

<turbo-stream action="append" targets="#count-post" >
<template><div>12</div>
</template>
</turbo-stream>

After

<turbo-stream action="append" targets="#count-post">
<template><div>12</div>
</template>
</turbo-stream>

@carsonbot carsonbot added Bug Bug Fix Turbo Status: Needs Review Needs to be reviewed labels Oct 25, 2024
@carsonbot carsonbot added Status: Reviewed Has been reviewed by a maintainer and removed Status: Needs Review Needs to be reviewed labels Oct 25, 2024
@Kocal

Kocal commented Oct 25, 2024

Copy link
Copy Markdown
Member

Thank you @seb-jean.

@Kocal Kocal merged commit 01839ab into symfony:2.x Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Bug Fix Status: Reviewed Has been reviewed by a maintainer Turbo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants