When using Smarty, you can often encounter issues with white spaces and/or unwanted line breaks. By using the strip tag around your HTML or Smarty code, all white spaces and line breaks will be removed. This can be particularly useful, for example, when using Smarty to generate content or when you want to minimize the generated HTML.

strip

{{strip}}
<table border='0'>
 <tr>
  <td>
   <a href="{{$url}}">
    <font color="red">This is a test</font>
   </a>
  </td>
 </tr>
</table>
{{/strip}}


Uitkomst:

<table border='0'><tr><td><a href="https://deployteq.com"><font color="red">This is a test</font></a></td></tr></table>