The same happens to all other template strings in the project.
Input
`glp-text-${ isImagePresent ? 56 : 64 }@M`
Output
`glp-text-${ isImagePresent ? 56 : 64}@M`
Expected behavior
// The previous behavior, consistent with WP standards:
`glp-text-${ isImagePresent ? 56 : 64 }@M`
// This one would also be fine with me:
`glp-text-${isImagePresent ? 56 : 64}@M`
After the upgrade to WP Prettier 2.0.4, I’m getting inconsistent whitespace padding inside template strings:
The same happens to all other template strings in the project.
Input
Output
Expected behavior