Top "Html-encode" questions

Anything related to encoding or decoding HTML entities.

What is the difference between AntiXss.HtmlEncode and HttpUtility.HtmlEncode?

I just ran across a question with an answer suggesting the AntiXss library to avoid cross site scripting. Sounded interesting, …

asp.net xss html-encode antixsslibrary
How to get Raw html from string in jquery?

I have <label class='ash'>Comment Removed</label> in the database. When …

javascript jquery html asp.net-mvc-3 html-encode
What do I need to escape inside the html <pre> tag

I use the <pre> tag in my blog to post code. I know I have to change < …

html html-encode
Encode HTML before POST

I have the following script, which encodes some of the value it receives propertly, but it does not seem to …

html jquery post html-encode
HTML entity encoding (convert '<' to '&lt;') on iPhone in objective-c

I'm developing an application for the iPhone that has inApp-mail sending capabilities. So far so good, but now I want …

iphone objective-c html-encode
how to encode href attribute in HTML

What should be done against contents of href attribute: HTML or URL encoding? <a href="???">link text</…

html urlencode html-encode
How to HTML-encode in the JSP expression language?

Consider the following piece of JSP: <param name="FlashVars" value="${flashVars}" /> The value of ${flashVars} contains ampersands and …

java jsp el html-encode
Ampersand is being HTML Encoded as &amp;. Any way to prevent this?

I have the following block of code that creates an Action Link for a company. Html.ActionLink(Html.Encode(currentCompany.…

c# asp.net-mvc html-encode ampersand
What is the best way to escape HTML on ExtJS application generally?

I am developing a web application using ExtJS to build GUI and communicate with server via RESTful web-service (the returned …

rest grails extjs json html-encode
PHP - Storing Text in MySQL Database

I have a textbox on my website and I need to store whatever the user enters into my database, and …

php mysql text html-encode