{"id":21,"date":"2011-07-29T10:04:24","date_gmt":"2011-07-29T10:04:24","guid":{"rendered":"https:\/\/lucarinfo.com\/blog\/?p=21"},"modified":"2025-10-09T16:20:59","modified_gmt":"2025-10-09T20:20:59","slug":"eol-format","status":"publish","type":"post","link":"https:\/\/lucarinfo.com\/blog\/eol-format\/","title":{"rendered":"What to do when your nicely formatted html ends up as one long line of code: EOL Format"},"content":{"rendered":"<p>EOL Format is end of line formatting for Unix\/Linux or Windows\/DOS.&nbsp; If you delete all blank lines in your code, and the formatting is Unix when you save, you might end up with square box characters&nbsp;? ? ? to stand for the lines you&#8217;ve deleted. Which would be fine except when you upload the web page to a server and view code, you might just see several long lines of your code with those square box characters. This too would be alright, it doesn&#8217;t affect the way the web page is displayed. It just becomes a problem when you want to edit the code the next time.<\/p>\n<p>The solution if you&#8217;re using <strong><a title=\"Notepad++\" href=\"https:\/\/download.cnet.com\/Notepad\/3000-2352_4-10327521.html\">Notepad++<\/a><\/strong>&nbsp; is to select all text,&nbsp; choose &#8216;EOL Windows Format&#8217;, apply and save. When you choose Windows format instead of Unix, it restores all your nicely formatted code.<\/p>\n\n\n<div class=\"wp-block-comments\"><h2 id=\"comments\" class=\"wp-block-comments-title\">5 responses to &#8220;What to do when your nicely formatted html ends up as one long line of code: EOL Format&#8221;<\/h2>\n\n\n\n\n\n\t<div id=\"respond\" class=\"comment-respond wp-block-post-comments-form\">\n\t\t<h3 id=\"reply-title\" class=\"comment-reply-title\">Leave a Reply <small><a rel=\"nofollow\" id=\"cancel-comment-reply-link\" href=\"\/blog\/wp-json\/wp\/v2\/posts\/21#respond\" style=\"display:none;\">Cancel reply<\/a><\/small><\/h3><form action=\"https:\/\/lucarinfo.com\/blog\/wp-comments-post.php\" method=\"post\" id=\"commentform\" class=\"comment-form\"><p class=\"comment-notes\"><span id=\"email-notes\">Your email address will not be published.<\/span> <span class=\"required-field-message\">Required fields are marked <span class=\"required\">*<\/span><\/span><\/p><p class=\"comment-form-comment\"><label for=\"comment\">Comment <span class=\"required\">*<\/span><\/label> <textarea id=\"comment\" name=\"comment\" cols=\"45\" rows=\"8\" maxlength=\"65525\" required><\/textarea><\/p><p class=\"comment-form-author\"><label for=\"author\">Name <span class=\"required\">*<\/span><\/label> <input id=\"author\" name=\"author\" type=\"text\" value=\"\" size=\"30\" maxlength=\"245\" autocomplete=\"name\" required \/><\/p>\n<p class=\"comment-form-email\"><label for=\"email\">Email <span class=\"required\">*<\/span><\/label> <input id=\"email\" name=\"email\" type=\"email\" value=\"\" size=\"30\" maxlength=\"100\" aria-describedby=\"email-notes\" autocomplete=\"email\" required \/><\/p>\n<p class=\"comment-form-url\"><label for=\"url\">Website<\/label> <input id=\"url\" name=\"url\" type=\"url\" value=\"\" size=\"30\" maxlength=\"200\" autocomplete=\"url\" \/><\/p>\n<p class=\"form-submit\"><input name=\"submit\" type=\"submit\" id=\"submit\" class=\"submit\" value=\"Post Comment\" \/> <input type='hidden' name='comment_post_ID' value='21' id='comment_post_ID' \/>\n<input type='hidden' name='comment_parent' id='comment_parent' value='0' \/>\n<\/p><p style=\"display: none;\"><input type=\"hidden\" id=\"akismet_comment_nonce\" name=\"akismet_comment_nonce\" value=\"4ad737affc\" \/><\/p><p style=\"display: none !important;\" class=\"akismet-fields-container\" data-prefix=\"ak_\"><label>&#916;<textarea name=\"ak_hp_textarea\" cols=\"45\" rows=\"8\" maxlength=\"100\"><\/textarea><\/label><input type=\"hidden\" id=\"ak_js_1\" name=\"ak_js\" value=\"201\"\/><script>document.getElementById( \"ak_js_1\" ).setAttribute( \"value\", ( new Date() ).getTime() );<\/script><\/p><\/form>\t<\/div><!-- #respond -->\n\t<\/div>\n","protected":false},"excerpt":{"rendered":"<p>EOL Format is end of line formatting for Unix\/Linux or Windows\/DOS.&nbsp; If you delete all blank lines in your code, and the formatting is Unix when you save, you might end up with square box characters&nbsp;? ? ? to stand for the lines you&#8217;ve deleted. Which would be fine except when you upload the web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1],"tags":[],"class_list":{"0":"post-21","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-lucarinfo-blog","7":"entry"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/comments?post=21"}],"version-history":[{"count":0,"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/posts\/21\/revisions"}],"wp:attachment":[{"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/media?parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/categories?post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lucarinfo.com\/blog\/wp-json\/wp\/v2\/tags?post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}