Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-12-05 16:11:01

tdn
Member
Registered: 2006-02-16
Posts: 58

Link text not properly escaped

Hi

When creating links in articles the link text is not properly escaped. This results in the page being invalid (x)HTML.

I have an example here:
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fthomasdamgaard.dk%2Fblog%2F

In this article I have the link "Casper & Mandrilaftalen":http://da.wikipedia.org/wiki/Casper_og_Mandrilaftalen.

The & should be escaped to &. The PHP function html_special_chars will do this.

Offline

#2 2006-12-05 16:26:02

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,350
Website GitHub Mastodon Twitter

Re: Link text not properly escaped

seems that the bug hits again


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

Board footer

Powered by FluxBB