Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2007-03-12 15:57:07
- johnnie
- Member
- Registered: 2007-03-10
- Posts: 58
Ampersands in a link > XHTML1.0 compliance
In several banner-links I have ampersands in the url. The problem however is that when I enter & into the url field of a link, textpattern inserts it as a true ‘&’, which causes the page to, ofcourse, fail validation. Since I am a standards junkie, I’d really like to know how I can fix this :)
Thanks in advance
Offline
Re: Ampersands in a link > XHTML1.0 compliance
I get the same problem if a section’s or category’s title field has an ampersand.
Refresh Dallas and other Refreshing Cities.
Offline
#3 2007-03-13 17:03:03
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Ampersands in a link > XHTML1.0 compliance
…inserts it as a true ‘&’…
Actually, it doesn’t. It’s the same problem as seen here, namely that it’s not converted appropriately when the form is reloaded, so once you save it again it’s then saved as the character itself rather than the named/numeric entity form.
Offline
#4 2007-03-14 19:03:41
- johnnie
- Member
- Registered: 2007-03-10
- Posts: 58
Re: Ampersands in a link > XHTML1.0 compliance
Ah, so I’ll just have to wait till’ next release to get it fixed :)
Offline