SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a form being displayed in a page and data is getting stored in an SP List. When a user enters an apostrophe in a field, the same list item displays the apostrophe as ''' in the web part.

How should I get rid of it?

share|improve this question
up vote 5 down vote accepted

On your DVWP field, do you have disable-output-escaping="yes" added to the xslt reference for that item? This will display apostrophe's and ampersands properly.

share|improve this answer

It's rendering as HTML character code. Check out this article:

The article suggests changing your XSL to:

xsl:value-of disable-output-escaping="yes" select="@MyHTMLFormattedColumn"
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.