{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/4261","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/4261/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/4261/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/4261/events","html_url":"https://github.com/Microsoft/vscode/issues/4261","id":141007732,"number":4261,"title":"html formatting option \"html.format.extraLiners\"","user":{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-15T15:28:06Z","updated_at":"2016-03-15T15:28:06Z","closed_at":null,"body":"testing #4066\r\n\r\n- use this html:\r\n```html\r\n<HTML><HEAD><TITLE>Your Title Here</TITLE></HEAD><BODY BGCOLOR=\"FFFFFF\"><CENTER><IMG SRC=\"clouds.jpg\" ALIGN=\"BOTTOM\"> </CENTER><HR> <a href=\"http://somegreatsite.com\">Link Name</a> is a link to another nifty site<H1>This is a Header</H1><H2>This is a Medium Header</H2> Send me mail at <a href=\"mailto:support@yourcompany.com\">support@yourcompany.com</a>.<P> This is a new paragraph!<P><B>This is a new paragraph!</B><BR><B><I>This is a new sentence without a paragraph break, in bold italics.</I></B><HR></BODY></HTML>\r\n```\r\n\r\n- change `html.format.extraLiners` from `null` to `HEAD`\r\n\r\nObserve: \r\n```html\r\n<HTML>\r\n<HEAD>\r\n\t<TITLE>Your Title Here</TITLE>\r\n</HEAD>\r\n<BODY BGCOLOR=\"FFFFFF\">\r\n\t<CENTER>\r\n\t\t<IMG SRC=\"clouds.jpg\" ALIGN=\"BOTTOM\"> </CENTER>\r\n\t<HR> <a href=\"http://somegreatsite.com\">Link Name</a> is a link to another nifty site\r\n\t<H1>This is a Header</H1>\r\n\t<H2>This is a Medium Header</H2> Send me mail at <a href=\"mailto:support@yourcompany.com\">support@yourcompany.com</a>.\r\n\t<P> This is a new paragraph!\r\n\t\t<P>\r\n\t\t\t<B>This is a new paragraph!</B>\r\n\t\t\t<BR>\r\n\t\t\t<B><I>This is a new sentence without a paragraph break, in bold italics.</I></B>\r\n\t\t\t<HR>\r\n</BODY>\r\n</HTML>\r\n```\r\n\r\nThere is no extra line before the HEAD tag.\r\n\r\n- change `html.format.extraLiners` to `null`\r\n\r\nObserve: now there is an extra line before the HEAD and BODY tags:\r\n\r\n```html\r\n<HTML>\r\n\r\n<HEAD>\r\n\t<TITLE>Your Title Here</TITLE>\r\n</HEAD>\r\n\r\n<BODY BGCOLOR=\"FFFFFF\">\r\n\t<CENTER>\r\n\t\t<IMG SRC=\"clouds.jpg\" ALIGN=\"BOTTOM\"> </CENTER>\r\n\t<HR> <a href=\"http://somegreatsite.com\">Link Name</a> is a link to another nifty site\r\n\t<H1>This is a Header</H1>\r\n\t<H2>This is a Medium Header</H2> Send me mail at <a href=\"mailto:support@yourcompany.com\">support@yourcompany.com</a>.\r\n\t<P> This is a new paragraph!\r\n\t\t<P>\r\n\t\t\t<B>This is a new paragraph!</B>\r\n\t\t\t<BR>\r\n\t\t\t<B><I>This is a new sentence without a paragraph break, in bold italics.</I></B>\r\n\t\t\t<HR>\r\n</BODY>\r\n\r\n</HTML>\r\n```"}}