Source formatting forces line break in PHP file
When working in a PHP file, if a nested HTML element's closing tag is immediately followed by the closing tag of its parent element, the parent's closing tag is forced to a new line when source formatting is applied. For example,
<p>This is a <a>link</a></p>
<p>This is a <a>link</a>
This bug occurs regardless of the elements involved.
Thanks for reporting.
We have addressed few source code formatting issues in our latest Prerelease drop 15104.
Can you please give it a try and let us know if it fixes your issue.
Please find below the invitation link to Prerelease forum,
When using Format Source Code in a php file changes this
< /div> <
? php get_footer();
Could this bug be fixed?