Describe the bug
When using {% render %} as an attribute into img tag, the prettier add a -only to the closing liquid bracket of the render.
This causes the code not showing correctly into the html tag, and thus the img not being displayed.
Hmm yep that's a bug. The lack of whitespace is not meaningful in that case so we shouldn't add whitespace stripping characters to maintain the lack of whitespace.
Describe the bug When using {% render %} as an attribute into img tag, the prettier add a
-
only to the closing liquid bracket of the render. This causes the code not showing correctly into the html tag, and thus the img not being displayed.Unformatted source
Expected output
Actual output
Debugging information
Additional context The theme used is a paid them called Focal. The rendered snippet is not having having any issue.