Please check Keep white spaces inside: option value in Settings | Editor | Code Style | HTML | Other - do you have the head tag included in the list? If it's not, please check what file type your .html file is associated with: select your .html file in Project tool window, hit F1 (or whatever shortcut is assigned to View | Quick Documentation main menu action) and attach a screenshot of the popup that opens.
Please check Keep white spaces inside: option value in Settings | Editor | Code Style | HTML | Other - do you have the
headtag included in the list? If it's not, please check what file type your.htmlfile is associated with: select your.htmlfile in Project tool window, hitF1(or whatever shortcut is assigned to View | Quick Documentation main menu action) and attach a screenshot of the popup that opens.