Webstorm - reformat HTML no longer works
I checked all kinds of things - Editor, file type associations... Could not find any solution.
Tested with - .html, .hbs files - reformat code just does not work. It kinda works for some top level elements though.
Before reformat:
After reformat:
Please sign in to leave a comment.
please remove 'span' from 'Keep white spaces inside' list in Settings | Editor | Code Style | HTML | Other.
Indent of text inside span is made of whitespaces; when this option is enabled, <span> tags are not touched by formatter
Thank you that was it!
Worked, thank you!