none
Displaying "&" special character in CQWP RRS feed

  • Question

  • Hi all,

    I'm having this issue when displaying CQWP content with special characters such as "&".  It displayed the html code "&" instead of "&".  I've checked my encoding code which is UTF-8.  Anyone has found any solution on this issue before?

    Thanks.

    Wednesday, August 8, 2012 3:31 AM

Answers

  • Are you using a custom stylesheet / itemstyle?  I'm wondering if this is because of how the field has being set to display.

    A common source of confusion for things like this is the disable-output-escaping property of the value-of element:  http://www.w3schools.com/xsl/el_value-of.asp

    Hope that helps!

    • Marked as answer by Wong C.Yin Wednesday, August 8, 2012 4:21 AM
    Wednesday, August 8, 2012 4:02 AM

All replies

  • Are you using a custom stylesheet / itemstyle?  I'm wondering if this is because of how the field has being set to display.

    A common source of confusion for things like this is the disable-output-escaping property of the value-of element:  http://www.w3schools.com/xsl/el_value-of.asp

    Hope that helps!

    • Marked as answer by Wong C.Yin Wednesday, August 8, 2012 4:21 AM
    Wednesday, August 8, 2012 4:02 AM
  • Hi Raymond,

    Wow....I was using itemstyle for my CWQP display....and ya... missing disable-output-escaping property!!!

    Thank you very much!!!! :D

    Wednesday, August 8, 2012 4:21 AM