Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Console] Table: support cells with newlines after a cell with colspan >= 2#37731

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@gmta
Copy link

@gmtagmta commentedAug 3, 2020
edited
Loading

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
TicketsN/A
LicenseMIT
Doc PRN/A

When rendering a table with a cell containing newlines after a cell with
colspan set to at least 2, every line in the cell with newlines except the
first one fails to render.

This case is fixed by calling->fillCells() on the unmerged rows and
implementing support for rows that start with a non-zero index for the columns.

While fixing this, I discovered another issue with colspan: if a cell following a
colspanned cell contains enough newlines to make the contents extend further
than the colspanned cell's contents, the cells become misaligned. This is now
also fixed.

@gmtagmtaforce-pushed thefix-table-helper-colspan-with-newlines branch 2 times, most recently from2c755f9 to4776950CompareAugust 3, 2020 14:48
@gmtagmta changed the titleTable: support cells with newlines after a cell with colspan >= 2[Console] Table: support cells with newlines after a cell with colspan >= 2Aug 3, 2020
@gmtagmtaforce-pushed thefix-table-helper-colspan-with-newlines branch from724457a to960aee9CompareAugust 3, 2020 20:33
@chalasrchalasr added this to the4.4 milestoneAug 4, 2020
@fabpot
Copy link
Member

Thank you@gmta.

@fabpotfabpot closed thisAug 11, 2020
@fabpotfabpotforce-pushed thefix-table-helper-colspan-with-newlines branch from960aee9 toca11772CompareAugust 11, 2020 07:30
@fabpotfabpot merged commit0f92b9a intosymfony:4.4Aug 11, 2020
gmta pushed a commit to gmta/symfony that referenced this pull requestAug 11, 2020
These changes were introduced insymfony#37731but no longer contributed to the actual fix, which was to perform a->copyRow().
fabpot added a commit that referenced this pull requestAug 12, 2020
This PR was merged into the 4.4 branch.Discussion----------[Console] Revert changes to Table->fillCells()| Q             | A| ------------- | ---| Branch?       | 4.4| Bug fix?      | no| New feature?  | no| Deprecations? | no| Tickets       | N/A| License       | MIT| Doc PR        | N/AThese changes were introduced in#37731 but no longer contributed to the actual fix, which was to perform a ->copyRow().Commits-------17263ca Revert changes to Table->fillCells()
symfony-splitter pushed a commit to symfony/console that referenced this pull requestAug 12, 2020
These changes were introduced insymfony/symfony#37731but no longer contributed to the actual fix, which was to perform a->copyRow().
This was referencedAug 31, 2020
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

4 participants

@gmta@fabpot@chalasr@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp