DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Bizarre Link Behavior

09.30.2009
| 2962 views |
  • submit to reddit
        // this code is supposed to run a link blog, but is outputting everything strangely. I've double checked and all field formatting is set to "none" but still cant' figure out why it does this.

code I'm using:

{exp:weblog:entries weblog="links" disable="trackbacks" dynamic="off" orderby="title" category="5" sort="asc"}
<li><a href='{link}' title="{description}">{title}</a></li>
{/exp:weblog:entries}

code that gets output NOTICE the double href
<li>
<a title="Who qualifies for Canadian permanent residence" href="<a href="http://www.immigration.ca/permres-independent-who_qualifies.asp">http://www.immigration.ca/permres-independent-who_qualifies.asp</a>">Canadian Permanent Residence</a>
</li>