1
Hello,
I have a strange problem in my news template. This is the HTML/Smarty Code from my template file:
le="color: #000000"><?php ... file. <table width="100%" border="0"> <{section name=i loop=$columns}> <{foreach item=topic from=$columns[i]}> <tr width="<{$columnwidth}>%" class="simple"> <td class="piccell"><{$topic.img}></td><td class="desccell"><{$topic.topicdescription}></td> <br /> </tr> <{/foreach}> <{/section}> </table>
As you can see there are no Tags between the Table and the last character, in this case a point. But after looking into my HTML output I can see this:
le="color: #000000"><?php ... file.<br> <br> <br> <br> <br> <table width="100%" border="0"> <tbody><tr width="100%" class="simple"> <td class="piccell"> ...
I don't know from where this 5 <br> tags come from? I compiled the template several times without success. I can't prevent XOOPS from inserting this <br> tags. But I know why there are 5 Tags. It seems that a tag is generated with every loop cycle. There are 5 table columns, so there are 5 <br> tags.
Can anybody help me to fix this annoying bug?