{"issue":{"created_at":"2011-11-29T18:08:53Z","state":"open","updated_at":"2011-11-29T20:07:48Z","user":{"gravatar_id":"f43485a38b2da99bbc2bf20c125f3c16","id":284476,"url":"https://api.github.com/users/jasonkuhrt","avatar_url":"https://secure.gravatar.com/avatar/f43485a38b2da99bbc2bf20c125f3c16?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jasonkuhrt"},"comments":2,"body":"Logically, I would expect that any indents under `-#` get ignored. Two reasons:\r\n- it makes block-comments meaningfully easier to use\r\n- it is logical to ignore the indentation because the nested content could have no other use\r\n\r\n\r\nHere's a use-case with documentation:\r\n\r\n\r\n    -#\r\n    -#      optional locals:\r\n    -#      :list_class         <string>    Inserted into the containing ul element \"class\" attribute\r\n    -#      :item_partial       <string>    Overrides default item_partial, selecting from /partials/list/items/<your_argument>.\r\n    -#                                      If the item_partial contains a slash, it is assumed to be a full path to the partial relative\r\n    -#                                      to app/views. If it doesn't, then its a partial in partials/list/items/.\r\n    -#\r\n    -#      required locals:\r\n    -#      :collection\r\n\r\nIn the above I am forced to comment every line because the two indented lines (under `:item_partial`) would throw an error in a block-comment context.","assignee":null,"id":2389199,"number":464,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"title":"Feature: ignore indents within -# comment","closed_at":null,"html_url":"https://github.com/nex3/haml/issues/464","url":"https://api.github.com/repos/nex3/haml/issues/464","milestone":null},"action":"created","comment":{"created_at":"2011-11-29T20:07:48Z","updated_at":"2011-11-29T20:07:48Z","user":{"gravatar_id":"f43485a38b2da99bbc2bf20c125f3c16","id":284476,"url":"https://api.github.com/users/jasonkuhrt","avatar_url":"https://secure.gravatar.com/avatar/f43485a38b2da99bbc2bf20c125f3c16?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"jasonkuhrt"},"body":"You may be responding to an older version of this issue.\r\n\r\nThe issue as it currently stands is the following:\r\n\r\n\r\n    -#\r\n          optional locals:\r\n          :list_class         <string>    Inserted into the containing ul element \"class\" attribute\r\n          :item_partial       <string>    Overrides default item_partial, selecting from /partials/list/items/<your_argument>.\r\n                                          If the item_partial contains a slash, it is assumed to be a full path to the partial relative\r\n                                          to app/views. If it doesn't, then its a partial in partials/list/items/.\r\n\r\n          required locals:\r\n          :collection\r\n\r\nIt will throw an indentation error. I think/wish HAML would ignore indentation within a `-#`","id":2945415,"url":"https://api.github.com/repos/nex3/haml/issues/comments/2945415"}}