Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Note: This topic has no later version.
EPiServer CMS has a number of built in property types to handle string content:
Note: Permanent links (links in editor content that are not broken when objects are moved) and dynamic and personalized content are only supported for PropertyXhtmlString.
Properties of type PropertyLongString or PropertyString will be manipulated when rendered using the Property WebControl or the PropertyFor Html helper. This includes conversion of the characters "<>&" to their respective html entities: "<", ">" and "&". It also ensures that any HTML tags that are not specified in the configuration settings "UISafeHtmlTags" are replaced with the text version of the tags.
For instance, <script> would be replaced with <script> to ensure that script from user input will not be executed on the page. If this behavior is not what you want on your property this would be solved by overriding the ToWebString method on your custom property.
Last updated: Mar 25, 2013