New issue
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
[Console] Fix table trailing backslash #30911
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(can you confirm the issue doesn't exist on 3.4?)
Can you please have a look at #30852? |
4.2 because |
@nicolas-grekas About #30852, it's 2 different problems IMO : this PR relates the trailing |
Thank you @maidmaid. |
This PR was merged into the 4.2 branch. Discussion ---------- [Console] Fix table trailing backslash | Q | A | ------------- | --- | Branch? | 4.2 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #30725 | License | MIT | Doc PR | / ```php (new Table($output)) ->setColumnMaxWidth(0, 5) ->setRows([['1234\6']]) ->render(); ; ``` before: ``` +-------+ | 1234<fg=default;bg=default> | | 6 | +-------+ ``` after: ``` +-------+ | 1234\ | | 6 | +-------+ ``` #EUFOSSA Commits ------- 48f020f Fix table trailing backslash
before:
after:
#EUFOSSA