Closed tonypartridge closed 6 months ago
@tonypartridge I could not reproduce in my environment. Can you paste minimum reproduceable settings and template? Thank you.
i also have this issue.
this is my config file
{ "useLaravelPint": true, "classStrings": { "enabled": false }, "pintCacheEnabled": false, "customIfs": [], "formatDirectivePhpParameters": false, "formatDirectiveJsonParameters": false, "formatInsideEcho": false, "spacesAfterDirective": 1, "spacesAfterControlDirective": 3, "phpOptions": { "phpVersion": "8.2" } }
before formatting:
@if((isset($banner) && $banner->model_type === 0) || old('model_type') === 0) selected @endif value=""
after formatting:
@if((isset($banner) && $banner->model_type === 0) || old('model_type') === 0) selected @endifvalue=""
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
@aryala7 Seems this config is not for this package.
{
"useLaravelPint": true,
"classStrings": {
"enabled": false
},
"pintCacheEnabled": false,
"customIfs": [],
"formatDirectivePhpParameters": false,
"formatDirectiveJsonParameters": false,
"formatInsideEcho": false,
"spacesAfterDirective": 1,
"spacesAfterControlDirective": 3,
"phpOptions": {
"phpVersion": "8.2"
}
}
Please paste entire template (remove secret value if needed) and config cause I could not reproduce it.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days
Version
1.5.6
Template before formatting
Template after formatting
Expected Behaviour
class="@if($amount > 0) py-2 @else py-4 px-4 @endif relative"
Relevant log output
No response