Comment #7 on issue 1569 by vesterbaek: Code review linebreaks are not
preserved in all views (i.e. mail)
The review description field wraps long lines in the browser => I'm used to
typing and having the text wrapped.
In the sent out emails, the description is not wrapped (at least on my
web client), causing very wide emails. My html/css has gone a bit rusty,
the pre's to break if necessary seems to do the trick. I've added the
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2,
needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
/* width: 99%; */
word-wrap: break-word; /* Internet Explorer 5.5+ */
The css is from here:
might be a
better way of achieving the same ...
You received this message because you are subscribed to the Google Groups
To post to this group, send email to reviewboard-iss...@googlegroups.com.
To unsubscribe from this group, send email to
For more options, visit this group at