Hey @danbraun - thanks for posting in the Community!
I’d like to tag in some Community experts to see if they have any insight for us! @ashleyidesign, @Mike_Eastwood, and @alyssamwilie - any thoughts here?
Shane, Senior Community Moderator
I’ve faced this with HubL files too. Prettier can sometimes get confused by HubL syntax, especially when you have HubL inside your CSS or HTML.
I’d try using the HubSpot/HubL Prettier extension and make sure it’s selected as the formatter for those files. If it still messes up the formatting, I usually just disable formatting on those specific CSS files and format them manually.
I hope this helps you out. Please mark it as Solution Accepted and Like to help another Community member.
This post was created with the assistance of AI tools