Jump to content

select option values are escaped in template


Beate
 Share

Recommended Posts

I have a problem with templates. In the header of my german/english page is sentence with html tags, as some words are smaller than others. And every page should have another sentence, but some might have the same. And it should be selectable for the user, so putting it directly in the template is no solution. I tried using the select option field, which can also have i18n options, but the html in the options is escaped.. so „A <span>journey</span> to <span>yourself...</span>“ is on the page.

This is what I inserted in my template:

   
if ($page->headersatz) echo $page->headersatz->value;

Any ideas? Or any better idea? Thanks!

 

pw_header.png

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...