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:




Comment actions Permalink

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

Comment actions Permalink

Thank you that was it!

Comment actions Permalink

Worked, thank you!


Please sign in to leave a comment.