I have some text coming from xml file text reads as &li;br/ > which after Html.Decode becomes <br/> but since i am not using any server controls this gets displayed as <br/> text rather than a page break. Any clues.
I have some text coming from xml file text reads as &li;br/ > which
Share
Based upon your comment you are assigning the text
<br/>to the InnerText property of a variable instance of the class HtmlGenericControl.Your problem is the text is escaped (try viewing the source of the rendered page) so that it renders as text. Use the InnerHtml property instead to write out pre-formatted HTML in a HtmlGenericControl instance.