Well, you could remove most of them using the [whitespace control feature](http://twig.sensiolabs.org/doc/templates.html#whitespace-control). Just be careful to keep one space between attributes