File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed
__tests__/fixtures/snapshots Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change
1
+ ------------------------------------options----------------------------------------
2
+ {}
3
+ ------------------------------------content----------------------------------------
4
+ <livewire:account.messenger.listing :foo="$user"
5
+ :messengers="$messengers"
6
+ :key="messenger-index" />
7
+ ------------------------------------expected----------------------------------------
8
+ <livewire:account.messenger.listing :foo="$user" :messengers="$messengers" :key="messenger-index" />
Original file line number Diff line number Diff line change @@ -2161,6 +2161,10 @@ export default class Formatter {
2161
2161
return match ;
2162
2162
}
2163
2163
2164
+ if ( matchedLine [ 0 ] . startsWith ( '<livewire' ) ) {
2165
+ return `${ p2 } ${ p3 } ${ p4 } ` ;
2166
+ }
2167
+
2164
2168
if ( p2 . startsWith ( '::' ) ) {
2165
2169
return `${ p2 } ${ p3 } ${ beautify
2166
2170
. js_beautify ( p4 , {
You can’t perform that action at this time.
0 commit comments