Adding whitespace trimming support to other tag types (comments, variables)
authorMark Story <mark@mark-story.com>
Wed, 30 Mar 2011 11:33:04 +0000 (07:33 -0400)
committerMark Story <mark@mark-story.com>
Wed, 30 Mar 2011 11:33:04 +0000 (07:33 -0400)
commitd9749fcb31d4cf5de3d88c58b20664e8c3f2c13f
tree0a44240dd80ab61f9fb2dc3f373db5327e20b04d
parentbc4d8b32cd226d925d7340b87246919dcabd5b61
Adding whitespace trimming support to other tag types (comments, variables)
Refactoring how whitespace trimming is done, and moving it into a separate option that is combined with other tag types.
Adding more tests.
Refs #284
lib/Twig/Lexer.php
test/Twig/Tests/Fixtures/tags/trim_block.test