bug #2899 Fixed spaceless filter (tifabien)
bug #2899 Fixed spaceless filter (tifabien)

This PR was merged into the 1.x branch.

Discussion
----------

Fixed spaceless filter

As now the `spaceless` tag is deprecated, I tried to replace it by the new `spaceless` filter instead but it broke my application. Actually there is a difference between the tag and the filter. Spaceless tag trim also whistespace (or line feed).

I propose to do the same thing on the new filter.

Commits
-------

3412d1a5 Fixed spaceless filter

twigphp/Twig,twigphp/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,nicolas-grekas/Twig,twigphp/Twig,nicolas-grekas/Twig