PDA

View Full Version : Ampersand symbol in listing gives non-compliant X-HTML coded page


maxvondrehnen
01-06-2012, 10:16 PM
I have several listings in my directory that contain ampersand symbols in the title text.

This results in a non compliant X-HTML (transitional) code for the page. As per http://validator.w3.org/

under "keywords" the correct symbol is found "&" in the source code.
under "description" the code is incorrect and displays the following: "&"
under "title" it displays the correct code: "&"
under "h2" the symbol is incorrect as "&" by itself.

Is there a fix to this issue with listings?