2933: Trim blank lines from the end (and beginning?) of review comments

Sept. 21, 2013
What version are you running?
1.6.13, but I also checked against demo.reviewboard.org which is running 1.7.5.

What's the URL of the page this enhancement relates to, if any?

Describe the enhancement and the motivation for it.
Blank lines at the end (and beginning) of review comments are saved as part of the comment.  Someone commenting on a review request might not notice that they've accidentally included blank lines at the end of their comment, however, and the excess lines are ugly.

What operating system are you using? What browser?
Windows 7 x64, Firefox 19.0.2
#1 david
  • +Component-Reviews
#2 edwl*****@gmai***** (Google Code) (Is this you? Claim this profile.)
I'll be looking into this.
#3 david
Edward, I think we have a pending change up that already fixes this: https://reviews.reviewboard.org/r/4533/

Sorry about the miscommunication.
#4 edwl*****@gmai***** (Google Code) (Is this you? Claim this profile.)
No problem.
#5 david
Ok, it sounds like Christian's change fixes rendering in on the page but doesn't strip extra whitespace from the text itself, which means that editing it again still has extra lines, and emails will have them. You're welcome to work on this if you want :)
#6 chipx86
Sorry for the confusion!
#7 edwl*****@gmai***** (Google Code) (Is this you? Claim this profile.)
Okay I'll work on this!
#8 david
Fixed in master (63327ca). Thanks!
  • +Fixed