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

Just a very quick question, hopefully someone can help:

On my global navigation, any items that have an & symbol in them display as the full & (actually displayed on the page, not in the code) which is quite bizarre. On the side navigation it looks just fine.

So sorry to ask a fairly trivial question, but honestly I'm very (very!!!) new to Sharepoint and haven't touched ASP before, and find it hard to work out exactly where this is happening.


share|improve this question
up vote 1 down vote accepted

Special characters in the menu probably have to be escaped.

I am not sure if this is what you need, but please check this link

share|improve this answer

I had the same problem. While not a overall fix, I have managed to fix this on each dispform.aspx by editing the page and adding a content editor web part (Below the dispform webpart) and adding the following javascript.

Solution / Workaround: I have added a content editor webpart to the dispform of the pages that are affected. Which include some javascript to change the html to show up as text instead of values of text.

 // Fix for HTML encoded choice field value on display form
 function registerChoiceFieldTemplateOverrides() {
 var choiceFieldContextOverride = {};
 choiceFieldContextOverride.Templates = {};
 choiceFieldContextOverride.Templates.Fields = {
 'Choice': {
 // The important bit: Change the display form template to the one that doesn't encode the value again. The original function that was used is: SPField_FormDisplay_Default 'DisplayForm': window.SPField_FormDisplay_DefaultNoEncode,
 ExecuteOrDelayUntilScriptLoaded(registerChoiceFieldTemplateOverrides, 'clientforms.js');
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.