You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b27a385
Browse filesBrowse the repository at this point in the historyBrowse files
Format and print a file that starts with inline HTML (#15)
* Format and print a file that starts with inline HTML
The formatter closed PHP code before every inline HTML statement and gave
its token the layout whitespace and an open tag, so a file starting with
HTML came out as <?php ?><?php followed by the HTML in PHP code. The
printer likewise wrote ?> before inline HTML that followed HTML.
Both now close PHP code only when it is open.
* Fold the HTML state check, add a printer test for adjacent inline HTML, update the open tag expectation
---------
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
0 commit comments