|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Eldime Smarty n00b
Joined: 03 Jul 2006 Posts: 3
|
Posted: Thu Sep 14, 2006 1:44 pm Post subject: Aspect code html |
|
|
Salut a tous,
Je viens de remarquer que le code html généré par smarty était quelques fois bizarre.
Par exemple :
Code: |
<div id="nav_connection">
<div class="category">Mon compte</div>
|
alors que dans mon template j'ai ceci :
Code: |
<div id="nav_connection">
{if $is_connected}
<div class="category">Mon compte</div>
|
En approfondissant mes recherches, j'ai remarqué que l'ajout de ces espaces inutiles se faisait toujours au niveau des balises propres à smarty. Je sais que ce n'est pas bien important mais je suis perfectionniste . Est-ce que qqn a déja remarqué cela et réglé le problème ? ou qqn a-t-il une idée de comment enlever ces espaces inutiles ?
Merci
+++ |
|
Back to top |
|
Pul$aR Smarty n00b
Joined: 05 Sep 2006 Posts: 2
|
Posted: Thu Oct 05, 2006 6:35 pm Post subject: |
|
|
{strip} |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|