Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2010-04-14 08:52:13
- bmwg
- Member
- Registered: 2010-04-06
- Posts: 39
Get rid of <br /> tag in section_list output
I want to put some sections of my page in a list.
I have a form small_sections:
<txp:section_list exclude="news,products,concept" form="section_format" wraptag="ul" />
and the form section_format:
<txp:section link="1" title="1" wraptag="li" />
I get output in the form of:
<ul><li><a href="..">sectionName</a></li><br /><li>.....</ul>
How do I get rid of the <br />
tag?
Offline
Re: Get rid of <br /> tag in section_list output
bmwg wrote:
How do I get rid of the
<br />
tag?
Try adding break=""
to the section_list tag. It defaults to br
.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline
#3 2010-04-14 10:07:22
- bmwg
- Member
- Registered: 2010-04-06
- Posts: 39
Re: Get rid of <br /> tag in section_list output
thanks!
Offline