-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[FrameworkBundle] Incorrect line break in exception message (500 debug page) #19780
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
Conversation
Q | A |
---|---|
Branch? | master |
Bug fix? | yes |
New feature? | no |
BC breaks? | no |
Deprecations? | no |
Tests pass? | yes |
Fixed tickets | 19041 |
License | MIT |
@@ -39,7 +39,7 @@ build: 56 | |||
font-family: Georgia, "Times New Roman", Times, serif; | |||
font-size: 20px; | |||
color: #313131; | |||
word-break: break-all; | |||
word-break: keep-all; |
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.
wouldn't it be better to use word-wrap: break-word
here?
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.
@nicolas-bastien You're right, already updated to break-word and rebased the PR
c733790
to
d1cde23
Compare
@@ -39,7 +39,7 @@ build: 56 | |||
font-family: Georgia, "Times New Roman", Times, serif; | |||
font-size: 20px; | |||
color: #313131; | |||
word-break: break-all; | |||
word-break: break-word; |
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.
Should be word-wrap: break-word
: break-word
is an unofficial value for word-break
.
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.
@nicolas-bastien you're right, http://www.w3.org/TR/css-text-3/#word-wrap
d1cde23
to
f51069b
Compare
Thank you @pedroresende. |
…e (500 debug page) (pedroresende) This PR was submitted for the master branch but it was merged into the 2.7 branch instead (closes #19780). Discussion ---------- [FrameworkBundle] Incorrect line break in exception message (500 debug page) | Q | A | ------------- | --- | Branch? | master | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | [19041](#19041) | License | MIT Commits ------- 1393e3e [FrameworkBundle] Fix Incorrect line break in exception message (500 debug page)
@fabpot Sure thing, always glad to help a wonderful project. Btw any special reason for not being added to the list of contributors ? |
@pedroresende that list is refreshed periodically. You'll eventually get there :) |