Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-12-18 07:15:21

nonlocal
New Member
Registered: 2005-12-18
Posts: 2

Textpattern eating my "s?

Hello,

I’m not sure if this is a bug or (more likely) some silliness on my part, but:

I have the following code in my default article form:
<code>
<div align=“right”><small><a href=“mailto:email@someplace.com?subject=”<txp:title />”>blah blah blah</a></small></div>
</code>

Which textpattern renders without the trailing “ after the email subject, ie:
<code>
<div align=“right”><small><a href=“mailto:email@someplace.com?subject=“Test Article.>blah blah blah</a></small></div>
</code>

Where has the closing “ in the mailto subject gone? I’ve tried adding spaces after the txp:title tag, and a number of other things, including putting two “s after the tag […?subject=”<txp:title />”“>] and in the output both “s were gone!

I’m stumped, can anybody point me at a solution?

Thanks,

— Rob.

Offline

#2 2005-12-18 12:48:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Textpattern eating my "s?

It’s you who left out the closing ", not Textpattern ;) (The first one, here: a href="mailto)

It should be either

<a href="mailto:emailsomeplace.com?subject=”<txp:title />”“>@

or

<a href="mailto:emailsomeplace.com?subject=<txp:title />”>@

Offline

#3 2005-12-18 15:01:23

nonlocal
New Member
Registered: 2005-12-18
Posts: 2

Re: Textpattern eating my "s?

doggiez;

Ew. I thought I had checked for that with the double quotes but obviously I missed something.

And sadly, I will never get back the time I spent trying to figure out what was going on …

Thanks.

RESOLVED

Offline

Board footer

Powered by FluxBB