fabpot/Twig — Issue #642: Spaceless and style tags
Author: bistory
Created: 2012-02-21 10:04:37+00:00
State: open

Hi !
When using style attribute on a html tag, I expected that spaceless would remove useless line breaks on my styles but it preserves them.

Here is the code I used to test :

{% spaceless %}

foo

{% endspaceless %}

And the result I get :

foo

Is it feasible to improve that behaviour ?

Thanks !