Try our conversational search powered by Generative AI!

Shamrez Iqbal
Sep 5, 2008
  4243
(0 votes)

p-tags showing up

Recently one of our customers had a problem with p-tags appearing on a page.

I've bumped into similar issues and discussed the problem with Steve Celius on #epicode, and concluded that if all buttons in the editor of a field are turned off,

<episerver:property />

will then render the tags with html entities meaning that instead of the tags being processed, they'll actually just be shown on the page as-is.

I logged into the site and all the buttons for the property were turned of so it should generate any tags and i tried and tested things and no tags were generated.

After some further discussion with other people in #epicode, among them erik- and asthiss, i realized that the problem was caused by the fact that some webeditors had enabled All functions available in the Editor under Permissions for Functions

What happened then was that the property would show as a html-property for the some editors - inserting html tags, but when other editors accessed the property, it would show as plain text with tags.

The solution to the problem was to use <%= CurrentPage["PropertyName] %> in the page to force the property to process and render the html.

Sep 05, 2008

Comments

Please login to comment.
Latest blogs
From Procrastination to Proficiency: Navigating Your Journey to Web Experimentation Certification

Hey there, Optimizely enthusiasts!   Join me in celebrating a milestone – I'm officially a certified web experimentation expert! It's an exhilarati...

Silvio Pacitto | May 17, 2024

GPT-4o Now Available for Optimizely via the AI-Assistant plugin!

I am excited to announce that GPT-4o is now available for Optimizely users through the Epicweb AI-Assistant integration. This means you can leverag...

Luc Gosso (MVP) | May 17, 2024 | Syndicated blog

The downside of being too fast

Today when I was tracking down some changes, I came across this commit comment Who wrote this? Me, almost 5 years ago. I did have a chuckle in my...

Quan Mai | May 17, 2024 | Syndicated blog

Optimizely Forms: Safeguarding Your Data

With the rise of cyber threats and privacy concerns, safeguarding sensitive information has become a top priority for businesses across all...

K Khan | May 16, 2024