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
Hi, it's not really a bug, as it mimics PHP output behavior based on lexer tokens (strictly the same as php token_get_all).
I'm not sure to understand why PHP do this (maybe something related with indenting outputs), but I'm totally agree with you, it introduce information loss.
I will not change the lexer as it's supposed to work as PHP, but I could fix it from AST and revert back the missing line break.
Seems it is bug. Inline value don't contain first newline which following after
?>
tagInput:
Contain:
value: ' <span>Hello World!</span>\n '
. BAD (should bevalue: '\n <span>Hello World!</span>\n '
)Input:
Contain:
value: '<span>Hello World!</span>'
. GOODInput:
Contain:
value: ' <span>Hello World!</span>\n '
. BAD (should bevalue: '\n <span>Hello World!</span>\n '
)The text was updated successfully, but these errors were encountered: