[eluser]staJr[/eluser]
Thanks Eric for you assistance !
My probleme is not about whitespaces (it's not a big deal) but more about the "\n" new line inserted in each loop of my foreach.
As I mentionned this is my pb :
Code:
{foo_foreach}
<link rel="stylesheet" type="text/css" media="screen" href="{foo_url}" />
{/foo_foreach}
Will output :
Code:
<link rel="stylesheet" type="text/css" media="screen" href="http://www.exemple.com/css/css.css" />whitespace
--> new line <--
<link rel="stylesheet" type="text/css" media="screen" href="http://www.exemple.com/css/css.css" />whitespace
--> new line <--
<link rel="stylesheet" type="text/css" media="screen" href="http://www.exemple.com/css/css.css" />whitespace
What if I don't want those new lines for each loop ?
The only way I found for not having those new lines is TO USE "Alternative Control Structures". It works and I don't have new lines.
So, as I want to use the parser and the {tags}, I'm wondering if there is something I'm missing to not have the "new lines".
Thanks.
Jean.