Prevent Code Formatting from removing spaces between PHP tags inside of HTML
New user here coming from NPP / Netbeans.
I am having a problem where PHPStorm is removing space between PHP tags inside of HTML upon code formatting.
For example:
<p><?php echo ‘test1’; ?> <?php echo ‘test2’; ?></p>
Becomes
<p><?php echo ‘test1’; ?><?php echo ‘test2’; ?></p>
I already tried all obvious settings… I was able to get whitespaces between specific html elements to work, for example <p> </p> used to become <p></p>, but I was able to fix that. However, this remains an issue with the PHP example above. For me personally this is a game-breaking issue. I am really hoping ther eis something I missed to fix this.
Please help!
Thanks in advance.
请先登录再写评论。
This is yet to be implemented. Please upvote WI-30749 to be aware of the progress.