Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
So do we have have to use regex on page2 to prevent rendering <p> or <div> tags?
Or Is there any other way to get page1 xhtml property value onto page2 without <p> or <div> tags?
I have a page(page1) with property
public virtual XhtmlString DescriptionText { get; set; }
I am rendering the above value onto the other page. But the text is rendered within html p tags
If I have given the input as "This is test" on page1, when I try to render on page2, it is appearing as "
This is test>/p>"
I don't know where the p tags are coming from. I want the output on page2 the same text as page1.