{"id":196,"date":"2008-08-16T07:38:03","date_gmt":"2008-08-16T14:38:03","guid":{"rendered":"http:\/\/kmwoley.com\/blog\/?p=196"},"modified":"2008-08-16T07:38:03","modified_gmt":"2008-08-16T14:38:03","slug":"outlook-extra-line-breaks-html-formatting-gone-bad","status":"publish","type":"post","link":"https:\/\/kmwoley.com\/blog\/outlook-extra-line-breaks-html-formatting-gone-bad\/","title":{"rendered":"outlook &amp; extra line breaks: html formatting gone bad"},"content":{"rendered":"<p>I get frustrated by the tiniest of problems.&nbsp; This mornings issue is with Microsoft Outlook and the way the messages it sends get formatted by other recipients.&nbsp; I can&#8217;t stand the extra line breaks that I see in GMail\/Live\/Hotmail when I send messages from Outlook 2007.<\/p>\n<p><!--more--> <\/p>\n<p><strong>The Problem:<\/strong><\/p>\n<p>I write an email that looks like this:<\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2008\/08\/outlookcapture.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"106\" alt=\"OutlookCapture\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2008\/08\/outlookcapture-thumb.jpg\" width=\"253\" border=\"0\"><\/a> <\/p>\n<p>And when someone gets the email in GMail, it looks like this:<\/p>\n<p><a href=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2008\/08\/gmailcapture.jpg\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" style=\"border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px\" height=\"66\" alt=\"GmailCapture\" src=\"https:\/\/kmwoley.com\/blog\/wp-content\/uploads\/2008\/08\/gmailcapture-thumb.jpg\" width=\"253\" border=\"0\"><\/a> <\/p>\n<p>Notice that there is extra space between the two lines? <em> That little extra paragraph break is driving me mad.<\/em>&nbsp; I can&#8217;t figure out how to tell Outlook not to wrap each line in HTML &lt;p&gt;aragraphs.&nbsp; <\/p>\n<p>It&#8217;s interesting to note that this isn&#8217;t a problem when you send mail from Outlook to Outlook.&nbsp; But is in other mail clients, like Live Mail &amp; Hotmail (both Microsoft products).&nbsp; The source of the issue appears to be that Outlook uses the MS Word HTML generation under the covers, which is known to be a bit janky.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>The Workaround:<\/strong><\/p>\n<p>The only options I&#8217;m aware of are to either (1) compose my messages in plain text or (2) get into the habit of pressing <em>CTRL-Enter<\/em> when I really want Outlook not to put in the extra space.&nbsp; Option (1) doesn&#8217;t really work, because any time you reply to a message Outlook will assume you want to use the format that the sender used <em>which is 99% of the time HTML.<\/em> Option (2) is annoying as hell, but a habit I&#8217;ll probably get into.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>The Solution:<\/strong><\/p>\n<p>There is none that I&#8217;ve found in my hour or so of googleing and testing.&nbsp; Outlook doesn&#8217;t let you tweak the HTML that it generates, so I&#8217;m thinking that the only solution would be to write a VB script to scrub all emails before they&#8217;re sent and switch all of the &lt;p&gt;aragraph breaks to line breaks. That would be the most annoying of all workarounds, but one that&#8217;s likely possible.&nbsp; The question is if I&#8217;m annoyed enough to try to fix this?&nbsp; I&#8217;m annoyed enough to blog about it, so maybe I am annoyed enough to learn VB in Outlook?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I get frustrated by the tiniest of problems.&nbsp; This mornings issue is with Microsoft Outlook and the way the messages it sends get formatted by other recipients.&nbsp; I can&#8217;t stand the extra line breaks that I see in GMail\/Live\/Hotmail when I send messages from Outlook 2007.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[128,352,126,127,46],"class_list":["post-196","post","type-post","status-publish","format-standard","hentry","category-geek","tag-annoyed","tag-geek","tag-gmail","tag-html","tag-outlook"],"_links":{"self":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/comments?post=196"}],"version-history":[{"count":0,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/posts\/196\/revisions"}],"wp:attachment":[{"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/media?parent=196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/categories?post=196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kmwoley.com\/blog\/wp-json\/wp\/v2\/tags?post=196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}