Mon 20 Nov 2006 10:01:23 PM UTC, comment #11: I think it is wordwrap() that is used.
I think it is likely that wordwrap() was actually designed to behave the way it does. If I had to write it, would probably do the same: assume we can trash one white space when putting a line break, but not more than one, because if there are more, you can assume it is on purpose. Because typography rules in English states that you have only one white space between the dot and the first letter of the next sentence (like it is in most european languages, if not all).
Mon 20 Nov 2006 09:56:25 PM UTC, comment #10: In comments to wordwrap() : "I found that wordwrap deletes the spaces it wraps on."
So, either you use another function or this feature was added in a later PHP version. In the former case, I suggest to use wordwrap() instead.
Mon 20 Nov 2006 09:49:20 PM UTC, comment #9: Uh, that indeed changes things. Maybe it should be considered a bug in the (is it wordwrap?) underlying function then.
Mon 20 Nov 2006 09:32:32 PM UTC, comment #8: Yes, but that's a PHP function. So the bug report should be made against PHP I think, shouldn't it?
Mon 20 Nov 2006 09:18:59 PM UTC, comment #7: Yes, I said it is my habit to put two spaces between sentences. Ideally, wrap() would replace all consecutive spaces with a line break, not just the first space.
Mon 20 Nov 2006 08:46:30 PM UTC, comment #6: The database content is exactly
The two spaces where in the original content. The line break was likely added by wrap(). I guess that's a bug in wrap() :) I don't know.
Mon 20 Nov 2006 08:40:33 PM UTC, comment #5: There is a leading space in this line of the comment:
I agree this is of very low priority.
Mon 20 Nov 2006 08:34:10 PM UTC, comment #4: I must say I still dont get it :P
Notifications does not include space at the beginning of lines.
There are white space only when listing the fields, for the purpose of having values aligned.
Mon 20 Nov 2006 08:19:10 PM UTC, comment #3: Hum, that's weird, I cannot open your file. I filled a bug (bug #7796 ). In the meantime, can you reupload your file after renaming it?
Mon 20 Nov 2006 08:10:19 PM UTC, comment #2: I attach a mail I received after my post to a tracker.
(file #1538 )
Mon 20 Nov 2006 08:50:12 AM UTC, comment #1: Hum, I'm not sure to understand. Could you elaborate? :)
Sun 19 Nov 2006 07:33:53 PM UTC, original submission: I have a habit to separate sentences with two space (Emacs convension.) It would be nice, it mail notifications from trackers didn't include a space (I guess it's the second one) at the beggining of a line.