Revision 148 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
# {strip}Many times web designers run into the issue where white space andcarriage returns affect the output of the rendered HTML (browser"features"), so you must run all your tags together in the template toget the desired results. This usually ends up in unreadable orunmanageable templates.Anything within `{strip}{/strip}` tags are stripped of the extra spacesor carriage returns at the beginnings and ends of the lines before theyare displayed. This way you can keep your templates readable, and notworry about extra white space causing problems.> **Note**>> `{strip}{/strip}` does not affect the contents of template variables,> see the [strip modifier](../language-modifiers/language-modifier-strip.md) instead.```smarty{* the following will be all run into one line upon output *}{strip}<table><tr><td><a href="#">This is a test</a></td></tr></table>{/strip}```The above example will output:```html<table><tr><td><a href="#">This is a test</a></td></tr></table>```Notice that in the above example, all the lines begin and end with HTMLtags. Be aware that all the lines are run together. If you have plaintext at the beginning or end of any line, they will be run together, andmay not be desired results.See also the [`strip`](../language-modifiers/language-modifier-strip.md) modifier.