London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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.