I have a list of li
elements and ran into the issue of unwanted space between inline block elements. To address this problem, I used the comment trick which worked fine initially. However, when I tried to format the code using PHPStorm, the comments were not placed correctly anymore. Is there a way to adjust this setting in PHPStorm? The issue can be seen in the example below.
<li>Hello</li><!--
--><li>Second</li>
This is what happens:
<li>Hello</li>
<!--
-->
<li>Second</li>