We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any PHP block causes all following tags to be indented by one level.
This came up as brackets-beautify/brackets-beautify#178 in Brackets Beautify, and has also been mentioned here #714 (comment).
Input:
<?php ?> <!DOCTYPE html> <html> <head></head> <body></body> </html>
Output:
Desired Output:
The text was updated successfully, but these errors were encountered:
Treat php tags as single in html
6fefba6
Fixes beautifier#826 Closes beautifier#744
It would be nice, if this would also work for php "short-open-tags", for example <? include("include.php"); ?>
<? include("include.php"); ?>
Sorry, something went wrong.
@bitwiseman would it be as easy as just adding ? and ?= to the list of single_tokens to support php short tags (<? ?>) and short echo tags (<?= ?>)?
?
?=
single_tokens
<? ?>
<?= ?>
No branches or pull requests
Any PHP block causes all following tags to be indented by one level.
This came up as brackets-beautify/brackets-beautify#178 in Brackets Beautify, and has also been mentioned here #714 (comment).
Input:
Output:
Desired Output:
The text was updated successfully, but these errors were encountered: