mirror of
https://github.com/danog/PHP-Parser.git
synced 2024-11-30 04:19:30 +01:00
Fix indentation fix for InlineHTML printing
This commit is contained in:
parent
74f05f5459
commit
eaffc0073c
@ -605,8 +605,10 @@ class PrettyPrinter_Zend extends PrettyPrinterAbstract
|
||||
}
|
||||
|
||||
public function pStmt_InlineHTML(Node_Stmt_InlineHTML $node) {
|
||||
return '?>' . ("\n" === $node->value[0] || "\r" === $node->value[0] ? "\n" : '')
|
||||
. $this->pSafe($node->value) . '<?php ';
|
||||
return '?>' . $this->pSafe(
|
||||
("\n" === $node->value[0] || "\r" === $node->value[0] ? "\n" : '')
|
||||
. $node->value
|
||||
) . '<?php ';
|
||||
}
|
||||
|
||||
// Helpers
|
||||
|
Loading…
Reference in New Issue
Block a user