Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2013-06-04 15:52:58

skewray
Member
From: Sunny Southern California
Registered: 2013-04-25
Posts: 261
Website Mastodon

quotes not working as expected

I have an article with the code:

<form method="GET" action='/tools/<txp:article_url_title />' >

The resulting HTML I get is

<form method="GET" action='/tools/survey-size-calculator‘ &gt;

What is up? Is Textile interfering?

Offline

#2 2013-06-04 16:08:56

etc
Developer
Registered: 2010-11-11
Posts: 5,471
Website GitHub

Re: quotes not working as expected

skewray wrote:

What is up? Is Textile interfering?

Most certainly. Try

notextile. <form method="GET" action='/tools/<txp:article_url_title />' >

Offline

#3 2013-06-04 17:50:06

philwareham
Core designer
From: Haslemere, Surrey, UK
Registered: 2009-06-11
Posts: 3,564
Website GitHub Mastodon

Re: quotes not working as expected

Also, try to not put HTML code into your article content if possible. Try to put that into pages templates or forms templates instead – your future self will thank you for it.

Offline

#4 2013-06-05 01:33:23

skewray
Member
From: Sunny Southern California
Registered: 2013-04-25
Posts: 261
Website Mastodon

Re: quotes not working as expected

Thanks. I was testing it before moving it into a form. Clearly I need to do this in the other order.

Offline

Board footer

Powered by FluxBB