Download & Extend

Incorrect Newline handling for CDATA feed elements

Project:Aggregator2
Version:4.6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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...

Comments

#1

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

#2

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

nobody click here