Viewing 2 replies - 1 through 2 (of 2 total)
  • Version of WordPress in use?

    If 1.5.1 or above, it’s a bug in the_content_rss(). This is used in the RSS 0.92 feed when a blog is set for full text in syndication. Problem is, WordPress filters RSS data to convert character entities to numeric equivalents, but the_content_rss() is applying filters for the_content and not the_content_rss.

    I’ll submit a bug report, but you can correct it in the source now by editing feed-functions.php (wp-includes/ directory). At line 19 you should find the the_content_rss() function; in it change the following line:

    $content = apply_filters('the_content', $content);

    to:

    $content = apply_filters('the_content_rss', $content);

    Thread Starter latitudes

    (@latitudes)

    Yay! that worked! thanks!

    fyi: I’m using wordpress 1.5.2 (slightly modified to work with XOOPS) – also, in my original post the & nbsp ; code was not displayed – for those trying to make sense out of what i said, it should read: “The text sanitizer isn’t removing & nbsp ; codes”

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-rss.php allows nbsp – makes feed invalid’ is closed to new replies.