Skip to content

Commit 7f4d863

Browse files
seb-jeanKocal
authored andcommitted
[Turbo] delete whitespace for <twig:Turbo:Stream:*> components
1 parent 643f0c9 commit 7f4d863

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% props target -%}
22

3-
<turbo-stream action="after" targets="{{ target }}" {{ attributes }}>
3+
<turbo-stream action="after" targets="{{ target }}" {{- attributes }}>
44
<template>{% block content %}{% endblock %}</template>
55
</turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% props target -%}
22

3-
<turbo-stream action="append" targets="{{ target }}" {{ attributes }}>
3+
<turbo-stream action="append" targets="{{ target }}" {{- attributes }}>
44
<template>{% block content %}{% endblock %}</template>
55
</turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% props target -%}
22

3-
<turbo-stream action="before" targets="{{ target }}" {{ attributes }}>
3+
<turbo-stream action="before" targets="{{ target }}" {{- attributes }}>
44
<template>{% block content %}{% endblock %}</template>
55
</turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% props target -%}
22

3-
<turbo-stream action="prepend" targets="{{ target }}" {{ attributes }}>
3+
<turbo-stream action="prepend" targets="{{ target }}" {{- attributes }}>
44
<template>{% block content %}{% endblock %}</template>
55
</turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{% props requestId = null -%}
22

3-
<turbo-stream action="refresh"{% if requestId is not null %} request-id="{{ requestId }}"{% endif %} {{ attributes }}></turbo-stream>
3+
<turbo-stream action="refresh"{% if requestId is not null %} request-id="{{ requestId }}"{% endif %} {{- attributes }}></turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{% props target -%}
22

3-
<turbo-stream action="remove" targets="{{ target }}" {{ attributes }}></turbo-stream>
3+
<turbo-stream action="remove" targets="{{ target }}" {{- attributes }}></turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% props target, morph = false -%}
22

3-
<turbo-stream action="replace" targets="{{ target }}"{% if morph %} method="morph"{% endif %} {{ attributes }}>
3+
<turbo-stream action="replace" targets="{{ target }}"{% if morph %} method="morph"{% endif %} {{- attributes }}>
44
<template>{% block content %}{% endblock %}</template>
55
</turbo-stream>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{% props target, morph = false -%}
22

3-
<turbo-stream action="update" targets="{{ target }}"{% if morph %} method="morph"{% endif %} {{ attributes }}>
3+
<turbo-stream action="update" targets="{{ target }}"{% if morph %} method="morph"{% endif %} {{- attributes }}>
44
<template>{% block content %}{% endblock %}</template>
55
</turbo-stream>

0 commit comments

Comments
 (0)