Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-16 20:38:28

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

Problems with escaping link description

When creating a link with description:
``<code>Her kan du finde tørre facts om “Den Opadstigende Drages Land”</code>’‘

I get a link like this:
``<code><a href=“http://leksikon.org/art.php?n=2946” title=“Her kan du finde tørre facts om “ den=”“ opadstigende=”“ drages=”“ land=”“>Leksikon</a>’</code>’

Last edited by tdn (2006-02-20 22:14:42)

Offline

#2 2006-02-20 21:36:40

pericat
Archived Plugin Author
From: Vancouver, BC
Registered: 2006-01-12
Posts: 4
Website

Re: Problems with escaping link description

That’s normal html behaviour; you need to use the html entity for double-quotes, or use single quote marks for the title= tag and double quotes for the internal title:

title=‘Her kan du finde tørre facts om “Den Opadstigende Drages Land”’

Offline

#3 2006-02-20 22:03:56

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

Re: Problems with escaping link description

I’m aware of that. I just think that it is a bug, that TXP does not present the text as html-entities when displaying it on the website. You can not expect the average user to know what html entities is.

Offline

#4 2006-02-20 22:04:20

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Problems with escaping link description

I think he’s referring to Textpattern’s content > link feature. In which case, it’s fair to expect Textpattern to handle this correctly.


Alex

Offline

#5 2006-02-20 22:07:10

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

Re: Problems with escaping link description

I am indeed referring to the link feature. :)

Offline

#6 2006-02-20 22:11:58

pericat
Archived Plugin Author
From: Vancouver, BC
Registered: 2006-01-12
Posts: 4
Website

Re: Problems with escaping link description

Ah! my apologies.

Offline

#7 2006-07-04 20:04:34

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Problems with escaping link description

Fixed in r1411.

Offline

Board footer

Powered by FluxBB