br function
Probably the simplest of these handy little smarty snippets is the {br} plugin. Seems simple enough. What it does is add in a line break in your TPLs. However, first it checks to see if the theme you are using has XHTML on or off. It will then write the break with the appropriate syntax. Pretty handy if you want to ensure your doc is valid html.
This plugin: {br} Will check the theme header for XHTML to be true or false, then produce one of the following: <br> or <br />
Simple, but very handy for valid XHTML.
Loading Help