Titles of items with apostrophes are being disoplayed incorrectly:

Tim Ball's better, warmer world at odds with new famine forecast

is this me or feedparser?

Comments

FiReaNGeL’s picture

I'm experiencing this also, apostrophes are replace with &apos (;)

budda’s picture

This occurs with a number of HTML entities, such as &pound ; and &quot ; etc.

The problem is the feed parser (SimplePie) provides the item titles as valid XHTML markup.
When Drupal displays the node titles as clickable links they are passed through the l() function which runs the text through a function to make sure there is nothing nasty in the string, which in turn double encodes all the HTML entities.

If I first decode the SimplePie strings back to plain text using html_entity_decode() it then causes the problem mentioned in http://drupal.org/node/101270

It seems I can't win either way. Ideas appreciated.

budda’s picture

Status: Active » Fixed

Writing things down for others seems to help solve them! Fixed this bug in CVS.

Anonymous’s picture

Status: Fixed » Closed (fixed)