Closed RobertBlaauwendraad closed 1 month ago
When I run --write,
--write
@Foreach($filters as $item) <li class="list-unstyled"> <a href="{{ $item->link }}" class="{{ $item->active ? 'fw-bold text-primary' : '' }}"> {{ $item->name }} </a> </li> @endforeach
becomes
@Foreach(foreach ($filters as $item):endforeach;) <li class="list-unstyled"> <a href="{{ $item->link }}" class="{{ $item->active ? 'fw-bold text-primary' : '' }}"> {{ $item->name }} </a> </li> @endforeach
Thanks for the report. Tracked this down to the uppercase characters within the @foreach. A fix is available in 2.1.18 👍
@foreach
2.1.18
When I run
--write
,becomes