fb = this;
// Get the values to submit.
- subject = this.subjectInput.value;
+ subject = $.trim( this.subjectInput.value );
// We used to include "mw.html.escape( navigator.userAgent )" but there are legal issues
// with posting this without their explicit consent
- message = this.messageInput.value;
+ message = $.trim( this.messageInput.value );
if ( message.indexOf( '~~~' ) === -1 ) {
message += ' ~~~~';
}