Incorrect Newline handling for CDATA feed elements

jmrukkers - March 17, 2006 - 21:43
Project:Aggregator2
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Some feeds include significant newlines in CDATA elements. These are ignored (filtered out?), resulting in incorrect concatenation of words (last word of line and first word on next line are concatenated). Here's an example. RSS feed: http://www.thecancerblog.com/rss.xml - resulting output: http://www.ufaqs.com/Syndicator/cancer_doctors_remove_healthy_kidney_lea...

#1

jmrukkers - March 22, 2006 - 19:51

Please discard the link in the previous post, I kludged it to work for this particular case. Still an issue though.

#2

trevelyan - May 28, 2006 - 19:42

You may not be dealing with newlines. Carriage returns ("\r") look identical to newlines ("\n") when the output is viewed through drupal.

 
 

Drupal is a registered trademark of Dries Buytaert.