Skip to content

Commit 27bdf63

Browse files
committed
Don't introduce extra white in string value
Having extra spaces added before and after the formatted value can make a difference when using "white-space: pre" or other similar white space formatting values.
1 parent 8f1e422 commit 27bdf63

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/components/simple-text.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
<span
1010
v-else
1111
:class="valueClass"
12-
>
13-
{{ defaultFormatter(data) }}
14-
</span>
12+
>{{ defaultFormatter(data) }}</span>
1513
</div>
1614
</template>
1715

0 commit comments

Comments
 (0)