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] Fix console closing tag#39168

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
fabpot merged 1 commit intosymfony:4.4fromjderusse:fix-console
Nov 25, 2020
Merged

Conversation

@jderusse
Copy link
Member

QA
Branch?4.4
Bug fix?yes
New feature?no
Deprecations?no
Tickets-
LicenseMIT
Doc PR-

When using SymfonyStyle, in some cases, closing a tag, is called twice.
In the following code<question>do you want <comment>something</>?</> the first</> close both thecomment and thequestion tags.

Screenshot from 2020-11-25 01-21-06

The reason is, part of the content is sent in 2 Outputs (see#39160 for another issue), and both outputs share the same$styleStack.
This PR updates theOutputFormatter::__clone method to prevent sharing the same state.

@fabpot
Copy link
Member

Thank you@jderusse.

@fabpotfabpot merged commit4c378d4 intosymfony:4.4Nov 25, 2020
This was referencedNov 29, 2020
@jderussejderusse deleted the fix-console branchDecember 9, 2020 22:10
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@fabpotfabpotfabpot approved these changes

@chalasrchalasrAwaiting requested review from chalasrchalasr is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

4.4

Development

Successfully merging this pull request may close these issues.

3 participants

@jderusse@fabpot@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp