File tree Expand file tree Collapse file tree 2 files changed +20
-2
lines changed
__tests__/fixtures/snapshots Expand file tree Collapse file tree 2 files changed +20
-2
lines changed Original file line number Diff line number Diff line change
1
+ ------------------------------------options----------------------------------------
2
+ {}
3
+ ------------------------------------content----------------------------------------
4
+ <div @php($counter = 1)>
5
+ <x-share>
6
+ @if ($counter)
7
+ {{-- --}}
8
+ @endif
9
+ </x-share>
10
+ </div>
11
+ ------------------------------------expected----------------------------------------
12
+ <div @php($counter = 1)>
13
+ <x-share>
14
+ @if ($counter)
15
+ {{-- --}}
16
+ @endif
17
+ </x-share>
18
+ </div>
Original file line number Diff line number Diff line change @@ -194,8 +194,8 @@ export default class Formatter {
194
194
. then ( ( target ) => this . preserveRawBladeBrace ( target ) )
195
195
. then ( ( target ) => this . preserveConditions ( target ) )
196
196
. then ( ( target ) => this . preservePropsBlock ( target ) )
197
- . then ( ( target ) => this . preserveInlineDirective ( target ) )
198
197
. then ( ( target ) => this . preserveInlinePhpDirective ( target ) )
198
+ . then ( ( target ) => this . preserveInlineDirective ( target ) )
199
199
. then ( ( target ) => this . preserveBladeDirectivesInScripts ( target ) )
200
200
. then ( ( target ) => this . preserveBladeDirectivesInStyles ( target ) )
201
201
. then ( ( target ) => this . preserveCustomDirective ( target ) )
@@ -231,8 +231,8 @@ export default class Formatter {
231
231
. then ( ( target ) => this . restoreCustomDirective ( target ) )
232
232
. then ( ( target ) => this . restoreBladeDirectivesInStyles ( target ) )
233
233
. then ( ( target ) => this . restoreBladeDirectivesInScripts ( target ) )
234
- . then ( ( target ) => this . restoreInlinePhpDirective ( target ) )
235
234
. then ( ( target ) => this . restoreInlineDirective ( target ) )
235
+ . then ( ( target ) => this . restoreInlinePhpDirective ( target ) )
236
236
. then ( ( target ) => this . restoreConditions ( target ) )
237
237
. then ( ( target ) => this . restoreRawBladeBrace ( target ) )
238
238
. then ( ( target ) => this . restoreBladeBrace ( target ) )
You can’t perform that action at this time.
0 commit comments