{"action":"created","issue":{"url":"https://api.github.com/repos/pugjs/pug/issues/2363","repository_url":"https://api.github.com/repos/pugjs/pug","labels_url":"https://api.github.com/repos/pugjs/pug/issues/2363/labels{/name}","comments_url":"https://api.github.com/repos/pugjs/pug/issues/2363/comments","events_url":"https://api.github.com/repos/pugjs/pug/issues/2363/events","html_url":"https://github.com/pugjs/pug/pull/2363","id":153587613,"number":2363,"title":"parse inline tags as block","user":{"login":"dutchenkoOleg","id":16334642,"avatar_url":"https://avatars.githubusercontent.com/u/16334642?v=3","gravatar_id":"","url":"https://api.github.com/users/dutchenkoOleg","html_url":"https://github.com/dutchenkoOleg","followers_url":"https://api.github.com/users/dutchenkoOleg/followers","following_url":"https://api.github.com/users/dutchenkoOleg/following{/other_user}","gists_url":"https://api.github.com/users/dutchenkoOleg/gists{/gist_id}","starred_url":"https://api.github.com/users/dutchenkoOleg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dutchenkoOleg/subscriptions","organizations_url":"https://api.github.com/users/dutchenkoOleg/orgs","repos_url":"https://api.github.com/users/dutchenkoOleg/repos","events_url":"https://api.github.com/users/dutchenkoOleg/events{/privacy}","received_events_url":"https://api.github.com/users/dutchenkoOleg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-07T10:24:45Z","updated_at":"2016-05-07T11:54:16Z","closed_at":"2016-05-07T11:54:16Z","pull_request":{"url":"https://api.github.com/repos/pugjs/pug/pulls/2363","html_url":"https://github.com/pugjs/pug/pull/2363","diff_url":"https://github.com/pugjs/pug/pull/2363.diff","patch_url":"https://github.com/pugjs/pug/pull/2363.patch"},"body":"is it possible to add an option that can be controlled manually, as \"pretty\" option, to be able to render inline elements as block?\r\n\r\nmy suggestion:\r\n```\r\n{\r\n  \"inlineAsBlock\": true | false | undefined\r\n}\r\n```\r\n\r\nfor example:\r\n\"inlineAsBlock\": false or undefined --- will not affect and render like this ▼\r\n```\r\n<ul>\r\n\t<li><a href=\"same.html\">Lorem ipsum dolor.</a> <strong>maxime, dolores.</<strong></li>\r\n</ul>\r\n```\r\n\r\nand \"inlineAsBlock\": true --- will render like this ▼\r\n```\r\n<ul>\r\n\t<li>\r\n\t\t<a href=\"same.html\">Lorem ipsum dolor.</a>\r\n\t\t<strong>maxime, dolores.</<strong>\r\n\t</li>\r\n</ul>\r\n```\r\n\r\n\r\nchanges are also needed in\r\n[pug-parser/index.js](https://github.com/pugjs/pug-parser/blob/master/index.js)"},"comment":{"url":"https://api.github.com/repos/pugjs/pug/issues/comments/217631302","html_url":"https://github.com/pugjs/pug/pull/2363#issuecomment-217631302","issue_url":"https://api.github.com/repos/pugjs/pug/issues/2363","id":217631302,"user":{"login":"ForbesLindesay","id":1260646,"avatar_url":"https://avatars.githubusercontent.com/u/1260646?v=3","gravatar_id":"","url":"https://api.github.com/users/ForbesLindesay","html_url":"https://github.com/ForbesLindesay","followers_url":"https://api.github.com/users/ForbesLindesay/followers","following_url":"https://api.github.com/users/ForbesLindesay/following{/other_user}","gists_url":"https://api.github.com/users/ForbesLindesay/gists{/gist_id}","starred_url":"https://api.github.com/users/ForbesLindesay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForbesLindesay/subscriptions","organizations_url":"https://api.github.com/users/ForbesLindesay/orgs","repos_url":"https://api.github.com/users/ForbesLindesay/repos","events_url":"https://api.github.com/users/ForbesLindesay/events{/privacy}","received_events_url":"https://api.github.com/users/ForbesLindesay/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T11:54:16Z","updated_at":"2016-05-07T11:54:16Z","body":"No, we're not making any modifications to pretty mode.  I intend to deprecate it in v3.0.0 of pug.  It's only use case is the pug documentation.  Other than that it should never be used since you don't need pretty printed output."}}