Double spacing on response mails


#1

Reached ticket number 1000 recently… :slight_smile:

Here’s my problem though:

I’ve a html form which sends a request to RT upon submission.
The RT owner then reviews the request, and uses the comment function, for
that ticket, to forward the mail to a third party. The mail is a template which
the third party uses to work from.

The third party has been complaining that the templates are double spaced.
I’ve looked at the transaction files, and discovered a discrepancy.

The original request content is perfectly formatted, with no double spacing.
The comment content however, has a ^M at the end of each line.
I’m thinking that the following is happening:

  • When one clicks comment, the original comment is displayed in a textarea.
  • Once submit is clicked, a ^M is added to each line by the browser, before
    being processed by RT.
  • Then, when the third party reads it, presumably on Windoze, the double
    spacing appears.

Does this sound plausible? Or is RT/sendmail adding the ^M?

If it is the browser, any suggestions for a fix? Create my own “Send so Windoze
readers are happy” button to go alongside the comment & reply ones?

-Feargal

Feargal Reilly,
Systems Administrator,
The CIA.
Phone: +353-86-8157621


#2

The original request content is perfectly formatted, with no double spacing.
The comment content however, has a ^M at the end of each line.

I may vaguely remember that we do have had some similar problems here with
the browsers submitting ^M behind each line in a textarea. Maybe they
need to be stripped away somewhere.

Tobias Brox
aka TobiX
+47 22 925 871


#3

One thing I have noticed is that when you create a ticket, the text area for the
"description" starts you off 1 line down from the top. Not sure if this is part if
your problem or not.

Feargal Reilly wrote:

Reached ticket number 1000 recently… :slight_smile:

Here’s my problem though:

I’ve a html form which sends a request to RT upon submission.
The RT owner then reviews the request, and uses the comment function, for
that ticket, to forward the mail to a third party. The mail is a template which
the third party uses to work from.

The third party has been complaining that the templates are double spaced.
I’ve looked at the transaction files, and discovered a discrepancy.

The original request content is perfectly formatted, with no double spacing.
The comment content however, has a ^M at the end of each line.
I’m thinking that the following is happening:

  • When one clicks comment, the original comment is displayed in a textarea.
  • Once submit is clicked, a ^M is added to each line by the browser, before
    being processed by RT.
  • Then, when the third party reads it, presumably on Windoze, the double
    spacing appears.

Does this sound plausible? Or is RT/sendmail adding the ^M?

If it is the browser, any suggestions for a fix? Create my own “Send so Windoze
readers are happy” button to go alongside the comment & reply ones?

-Feargal

Feargal Reilly,
Systems Administrator,
The CIA.
Phone: +353-86-8157621


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Thanks,

Stephen Lawrence
-Support Technician & Webmaster
-Examen, Inc.
-stephenl@examen.com
-916-921-4300 ext. 703