Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-12-24 13:17:08

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

html rendered literally

I updated this flexy template from 4.0.4 to 4.0.7 but now there’s a problem, as you can see in the link.

The three links that are not being output properly are using three custom fields with exactly what you see in them.

In the form I have:

<txp:if_custom_field name="topleft">
<h2 class="topleft"><txp:custom_field name="topleft" /></h2>
</txp:if_custom_field> 

etcetera

These happily did what they were supposed to in 4.0.4. I didn’t try 4.0.5 or 4.0.6


BB6 Band My band
Gud One My blog

Offline

#2 2008-12-24 13:35:30

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: html rendered literally

add escape="0" to the custom fields if you don’t want them escaped.

Offline

#3 2008-12-24 13:43:25

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: html rendered literally

As easy as that! Thanks, ruud. Merry Christmas!


BB6 Band My band
Gud One My blog

Offline

Board footer

Powered by FluxBB