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 just
typing and having the text wrapped.

In the sent out emails, the description is not wrapped (at least on my lotus notes web client), causing very wide emails. My html/css has gone a bit rusty, but telling the pre's to break if necessary seems to do the trick. I've added the following to
   <style type="text/css">
     pre {
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not
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: There might be a
better way of achieving the same ...

You received this message because you are subscribed to the Google Groups 
"reviewboard-issues" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to