How to prevent html code style conflicts with inner style tag.

When I apply reformating to my html files, the css syntax in style tags happens to be broken, spaces are added before/after colons and semi-colon, which breaks the css style. I searched for a property in code style settings, without success.
How can I fix this ?

Thank you

3 comments
Comment actions Permalink

Please can you attach a file that shows up the issue plus a screenshot of resultant formatting?


0
Comment actions Permalink

Sure, here is my code before and after reformating :



Attachment(s):
IntelliJ-html-reformat.jpg
0
Comment actions Permalink

Please  can you attach html  file that shows up the issue? Also, please hit Alt+Enter in style attribute value - what do you see? Attach a screenshot of the menu that appears

0

Please sign in to leave a comment.