|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51219 newlines creating ugly bug emails
Submitted: 2010-03-05 20:16 UTC Modified: 2022-01-20 16:27 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: Assigned: peehaa (profile)
Status: Wont fix Package: Website problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [2010-03-05 20:16 UTC]
The generated emails use newlines as per the <textarea> width, so this means bug 
emails often look like:

I am a sentence that will be
because newlines are interfering 
with my
beauty. So this bug report exists 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-03-05 20:18 UTC]
Assigning to Jani, this time using the main Submit button instead of the "Assign 
to" Submit. Maybe it'll show up in the Changelog now.
 [2010-03-05 20:55 UTC]
iirc, this is due the re-formatting of emails to fit 72 chars or something like that. This textarea happens to be 80 chars with physical wrap..
 [2010-09-01 12:35 UTC]
-Status: Assigned +Status: Open -Assigned To: jani +Assigned To:
 [2016-08-12 17:42 UTC]
> iirc, this is due the re-formatting of emails to fit 72 chars or
> something like that.

As it's now, only the "headers" are wordwrap()'d[1] (which, by the
way is a bug, because wordwrap() isn't multi-byte aware).

[1] <>
 [2018-07-23 11:22 UTC]
-Status: Open +Status: Verified
 [2019-12-11 15:19 UTC]
-Assigned To: +Assigned To: peehaa
 [2022-01-20 16:27 UTC]
-Status: Verified +Status: Wont fix
 [2022-01-20 16:27 UTC]
Given that bugsnet has been superseded by GH issues, I think this
ticket can be closed.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 23:01:27 2024 UTC