0

I have a discussion forum/blog engine working with web forms. Each post contains html entered within an editor that is stored as an nvarchar in SQL server. When I display this in a view, like so:

<%#Eval("body")%>

The eval function escapes the html, so I gt &lt, &gt, yada yada yada. Anyone know a good way around this?

1 Answer 1

3

Not sure it can help, but HtmlDecode is an option.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.