More accurately, it's not being modified. Email displays spaces, HTML does not. Look at the source of the page, and you will see the spaces there.
--
Sean Porterfield
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of DeLong, Eric
Sent: Tuesday, July 08, 2008 15:03
To: Midrange Systems Technical Discussion
Subject: RE: Forum mangling code.
Could it be tab's getting stripped or converted? Sometimes, tabs are converted to spaces, and sometimes not... Probably depends on the mail client that created the email, tho I can't say that with any authority....
Eric DeLong
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx]On Behalf Of Jerry Adams
Sent: Tuesday, July 08, 2008 12:27 PM
To: Midrange Systems Technical Discussion
Subject: RE: Forum mangling code.
I don't think it's the forum because the sample Alan used was in a previous email from him and it came across indented to me. FWIW, I'm using Outlook 2007. Before the powers that be "upgraded" us, I used Thunderbird; can't swear to it, but I think the indentations came through fine there, too.
I'm not a real pro with all of the @#$% options in Outlook, but it may be some setting. Or the email reader pert se.
Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Michael Ryan
Sent: Tuesday, July 08, 2008 12:12 PM
To: Midrange Systems Technical Discussion
Subject: Re: Forum mangling code.
code.midrange.com?
On Tue, Jul 8, 2008 at 12:55 PM, Alan Campin <Alan.Campin@xxxxxxxxxxxxxxxx> wrote:
Does anyone know a way to keep the forum from mangling code?
You post a piece of code and it comes out like mush with all the
blanks compressed. Virtually unreadable.
This (Period added to keep from screwing up):
....Exec Sql Open C1;
....If SqlState <> cSqlStateOk;
......ERRH_Throw('CPF9898' :
........................CPFMessageFileName :
........................'Open of Cursor C1 failed'); ...EndIf;
Becomes this:
Exec Sql Open C1;
If SqlState <> cSqlStateOk;
ERRH_Throw('CPF9898' :
cCPFMessageFileName :
'Open of Cursor C1 failed');
EndIf;
Why does the forum do this?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at
http://archive.midrange.com/midrange-l.
This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged. If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited. Thank you.
As an Amazon Associate we earn from qualifying purchases.