Strings such as & and " are displayed in your headlines

Cause

It is possible that there are double-escaping characters in the article title. Please refer to the use of CDATA, on the W3C site or the example below.

Please also note that headlines are designated using the following elements:

  • In the case of RSS 2.0: item.title
  • In the case of Atom: entry.title

Example

If the headline is “A look behind the scenes at Bauer’s R&D facility

Incorrect description

The following example uses both CDATA and escaped markup characters and is therefore “double-escaped,” displaying the markup characters as plain text.

<title>![CDATA[A look behind the scenes at Bauer’s R&amp;D facility]</title>

It will be displayed as:

“A look behind the scenes at Bauer’s R&amp;D facility”

 

Correct description

Use either CDATA or escaped markup characters. The following examples are correct:

<title>![CDATA[A look behind the scenes at Bauer’s R&D facility]]</title>
<title>A look behind the scenes at Bauer’s R&amp;D facility</title>