Thursday, November 21, 2024

mail.app – Output of Mail App’s Save As Uncooked Message Supply on emails is invalid HTML

Once I save the e-mail as Uncooked Message Supply many tags are damaged by some sort of bizarre encoding. Is that this intentional? For instance, meta tags that ought to seem like this:

<meta http-equiv="Content material-Sort" content material="textual content/html; charset="UTF-8">

As a substitute seem like this:

<meta title=3D"viewport" content material=3D"width=3Ddevice-width, initial-scale=3D=
1">

Discover the pointless line break and the extra 3D. Additionally, there’s output like this all through the file the place = are added on the level of line breaks from the output:

<physique type=3D"font-family: Inter, Helvetica, Arial; coloration: #192436; word-s=
pacing: regular; background-color: #F5F6F8;">
  <div type=3D"background-color:#F5F6F8;" lang=3D"en">
    <!--[if mso | IE]><desk align=3D"middle" border=3D"0" cellpadding=3D"0=
" cellspacing=3D"0" class=3D"" function=3D"presentation" type=3D"width:632px;"=
 width=3D"632" ><tr><td type=3D"line-height:0px;font-size:0px;mso-line-hei=
ght-rule:precisely;"><![endif]-->

I anticipated the output to be legitimate HTML I might view within the browser (I need to debug a CSS subject and apparently can’t activate dev instruments inside the Mail app).

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles