{"issue":{"created_at":"2011-07-23T15:49:48Z","state":"open","updated_at":"2011-12-03T02:30:35Z","user":{"gravatar_id":"f72ddb2c2b82ccf8e73c3135db670228","id":395678,"url":"https://api.github.com/users/heliodor","login":"heliodor","avatar_url":"https://secure.gravatar.com/avatar/f72ddb2c2b82ccf8e73c3135db670228?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":1,"body":"Added test for spacing around section tags on a single line. Fixed the problem indicated by the test: a section's contents were being left trimmed.\r\n\r\n\r\nI'm not an expert at regex. I removed the part that matches white space, so now pystache leaves white space alone. Ideally, it should only touch the white space when a line contains only a mustache tag and nothing else. In such a case, it should delete the line and un-indent the encompassed lines by one level to maintain a nice indentation hierarchy.","assignee":null,"id":1275037,"pull_request":{"patch_url":"https://github.com/defunkt/pystache/pull/27.patch","html_url":"https://github.com/defunkt/pystache/pull/27","diff_url":"https://github.com/defunkt/pystache/pull/27.diff"},"labels":[],"number":27,"title":"Pystache spacing on a single line was wrong","html_url":"https://github.com/defunkt/pystache/issues/27","closed_at":null,"url":"https://api.github.com/repos/defunkt/pystache/issues/27","milestone":null},"action":"created","comment":{"created_at":"2011-12-03T02:30:35Z","updated_at":"2011-12-03T02:30:35Z","user":{"gravatar_id":"9b513ee7cc400c9b7374f4697a1e69ad","id":355822,"url":"https://api.github.com/users/cjerdonek","login":"cjerdonek","avatar_url":"https://secure.gravatar.com/avatar/9b513ee7cc400c9b7374f4697a1e69ad?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Just wanted to include a link to the [relevant portion of the spec](https://github.com/mustache/spec/blob/9b1bc7ad19247e9671304af02078f2ce30132665/specs/sections.yml#L186):\r\n\r\n    - name: Surrounding Whitespace\r\n      desc: Sections should not alter surrounding whitespace.\r\n      data: { boolean: true }\r\n      template: \" | {{#boolean}}\\t|\\t{{/boolean}} | \\n\"\r\n      expected: \" | \\t|\\t | \\n\"\r\n","id":2998595,"url":"https://api.github.com/repos/defunkt/pystache/issues/comments/2998595"}}