So, the other day, I was asked to set up HTML for an e-mail that someone else—let’s call them Agent B—is sending. Today Agent B sent us a preview of the e-mail, with the Agent B logo added at the top and the usual “Click here to unsubscribe, etc., etc.” at the bottom, but the middle of the message—my part—has become completely verkakte in the process. So I looked at the code and found that my nice, clean, valid HTML had been run through MS Word’s garbagealator. For example, this—
<p>Sunday, May 18, 2008<br />
11am to 5pm<br />
The Times Center<br />
242 West 41st Street</p>
—was converted to this—
margin-left:7.5pt'><font size=3D3 color=3Dblack face=3DHelvetica><span =
style=3D'font-size:12.0pt;font-family:Helvetica;color:black'>Sunday, May =
11am to 5pm<br>
The<span class=3Dapple-converted-space> <st1:place =
class=3Dapple-converted-space> <st1:placetype =
<st1:street u2:st=3D"on"><st1:address u2:st=3D"on"><st1:Street =
w:st=3D"on">242 West 41st =
color=3Dblack face=3DHelvetica><span =
I can’t tell if Word’s supposed HTML converter is being introduced into the workflow through Constant Contact, which Agent B uses to produce its e-mails, or through Agent B’s own e-mail client (e.g., Outlook), so I’m not sure how to make this not happen. But in the meantime, can anybody please explain to me what the hell Microsoft’s people were thinking/smoking when they set up Word to create such disgusting code?
No, I mean, really—how freaking high would you have to be to sign off on a module that generates code like that? “Good work, team! We can cross ‘HTML export’ off the list! Woot!” And how do the people who made this look at themselves in the mirror each morning?
Update: After further troubleshooting, I’m pretty sure the crap is getting inserted by the receiving e-mail clients (Outlook, Entourage), not Constant Contact.