Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-01-19 17:37:07
- cypher543
- New Member
- Registered: 2007-01-19
- Posts: 3
Stray "br" and "p" tags on txp:linklist
I’ve tried almost 15 blog systems in the last 5 days, and Textpattern is the best so far. However, I’m having a problem with my design. I created a Link category to hold the items for my site-wide menu. I then used the following to display it:
<txp:linklist wraptag="ul" break="li" category="Menu" />
However, in the page source, it displays this:
@<ul class=“linklist”>
<li><a href=“http://www.cypherspace.info”>Blog</a><br /></li>
</ul>
<p> </p>@
The extra <br />
and <p></p>
tags are messing my formatting up. How can I get rid of them?
Offline
Re: Stray "br" and "p" tags on txp:linklist
The default vale for form
attribute in txp:linklist is plainlinks
Look for the plainlinks form Presentation > Forms.
Last edited by maniqui (2007-01-19 17:43:02)
Offline
#3 2007-01-19 18:35:44
- cypher543
- New Member
- Registered: 2007-01-19
- Posts: 3
Re: Stray "br" and "p" tags on txp:linklist
Thanks! That got rid of the <br />
tag, but the <p></p>
still exists, which is still breaking my formatting. :(
EDIT: Nevermind. I realized that I had forgotten the “/” before “>” at the end of the txp:linklist tag.
Last edited by cypher543 (2007-01-19 20:31:03)
Offline