Lines Matching refs:whitespace
839 .. _templates-whitespace-control:
845 Tag level whitespace control was added in Twig 1.1.
848 Whitespace is not further modified by the template engine, so each whitespace
851 Use the ``spaceless`` tag to remove whitespace *between HTML tags*:
863 In addition to the spaceless tag you can also control whitespace on a per tag
864 level. By using the whitespace control modifier on your tags, you can trim
865 leading and or trailing whitespace:
870 {#- No leading/trailing whitespace -#}
877 The above sample shows the default whitespace control modifier, and how you can
878 use it to remove whitespace around tags. Trimming space will consume all whitespace
879 for that side of the tag. It is possible to use whitespace trimming on one side