Hi Jeremy,
my e-mail client is Thunderbird (TB) and it will supply different renderings of an e-mail if
formatting is applied to it (using internally old HTML markup). TB in this particular e-mail message
had an error, cf. the raw e-mail:
--===============7589290489518836822==
Content-Type: multipart/alternative;
boundary="------------UV9t08ohcUgOfViJQN0sYfFC"
Content-Language: en-CA
This is a multi-part message in MIME format.
--------------UV9t08ohcUgOfViJQN0sYfFC
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Given the following Rexx program:
a=.array~new
/a[1,1]="a"/ /* first usage, makes array a two dimensional array */
/*a[4,5]="b"*/
... cut ...
--------------UV9t08ohcUgOfViJQN0sYfFC
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Given the following Rexx program:</p>
<blockquote>
<pre>a=.array~new
<i>a[1,1]="a"</i> /* first usage, makes array a two dimensional array */
<i><b>a[4,5]="b"</b></i>
... cut ...
As you can see in the (second) "text/html" part the tags <i> and <b> get used. The "text/plain"
rendering by TB is wrong in this case.
If you have a possibility to look at the HTML formatted version you would see (using a screenshot to
make sure):
HTH,
---rony
On 6/11/2022 2:23 PM, Jeremy Nicoll wrote:
On Sat, 11 Jun 2022, at 01:31, Sahananda Sahananda wrote:
I'm sure Rony would answer this when it's daytime in Austria, but It might
help speed things up if I say that my mail client (gmail) does not render
the oblique strokes that you ask about, but does render the text between
them as italics.
Ah. The email I quoted (or possibly one of the others in the thread, as I've
not kept all of them) contains in its raw form:
This is a multi-part message in MIME format.
--------------UV9t08ohcUgOfViJQN0sYfFC
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Given the following Rexx program:
a=.array~new
/a[1,1]="a"/ /* first usage, makes array a two dimensional array */
/*a[4,5]="b"*/
so the enclosing slashes are definitely present in the supposedly plain
text part of the mail.
If Rony is writing his text in rich text form, how does the plain text part
of his mail get created? Presumably there's some sort of automatic
translation going on?
Does he need to mark up the rich-text part differently, eg labelling the
snippets of code as, well, code?
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel