Calling all developers! We invite you to provide your input on Feature Experimentation by completing this brief survey.

 

Shamrez Iqbal
Sep 5, 2008
  4349
(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
Level Up with Optimizely's Newly Relaunched Certifications!

We're thrilled to announce the relaunch of our Optimizely Certifications—designed to help partners, customers, and developers redefine what it mean...

Satata Satez | Jan 14, 2025

Introducing AI Assistance for DBLocalizationProvider

The LocalizationProvider for Optimizely has long been a powerful tool for enhancing the localization capabilities of Optimizely CMS. Designed to ma...

Luc Gosso (MVP) | Jan 14, 2025 | Syndicated blog

Order tabs with drag and drop - Blazor

I have started to play around a little with Blazor and the best way to learn is to reimplement some old stuff for CMS12. So I took a look at my old...

Per Nergård | Jan 14, 2025

Product Recommendations - Common Pitfalls

With the added freedom and flexibility that the release of the self-service widgets feature for Product Recommendations provides you as...

Dylan Walker | Jan 14, 2025