Page 1 of 1
Display error for entries with newline/CR
Posted: Tue Jul 23, 2013 9:26 am
by floetenschlumpf
Hi,
found this display bug in Vienna 3.0.0 Beta 13 on Mac OSX 10.8.4 (german system).
The RSS entry contains a newline / carriage return in the text (sorry, I cannot provide a URL, its a from a private network).
I used Beta 11 before (if I remember correctly) and it was fine previously. I hope the screenshot is helpful:

Re: Display error for entries with newline/CR
Posted: Wed Jul 24, 2013 12:45 am
by barijaona
Can you identify which field having a newline/CR causes a problem ?
Either have a look at the XML source (menu "Folder->Show XML Source") or enable/disable fields in menu "View->Columns" until you identify the culprit.
Thanks in advance.
Re: Display error for entries with newline/CR
Posted: Thu Jul 25, 2013 2:52 am
by kwik
Here is my "blog" just to demo the display bug, subscribe to reproduce:
http://rssfeedtesting.blogspot.com/feed ... ts/default

Problematic comments are (hopefully) easy to spot.
Re: Display error for entries with newline/CR
Posted: Thu Jul 25, 2013 6:19 am
by floetenschlumpf
Its the "subject" (german "Betreff") column, which corresponds to the XML "title" element
Re: Display error for entries with newline/CR
Posted: Thu Jul 25, 2013 6:37 pm
by kwik
Re: Display error for entries with newline/CR
Posted: Sun Jul 28, 2013 7:31 am
by Echelon9
It's a slightly different bug, although pretty closely related.
Essentially it wasn't picked up in the earlier bugs as this one only occurs under narrow circumstances:
- Atom feed
- Title element has a type that is not "HTML" or "XHTML"
- Linefeed characters exist in the text of the title
I've created an Issue for it on the GItHub issue tracker:
https://github.com/ViennaRSS/vienna-rss/issues/204
A resolution patch has already been committed on my working branch, and subject to review will be in the next Beta release.
Thanks for generating the reproducible Blogspot feed. That made tracking down the bug a lot easier.
Re: Display error for entries with newline/CR
Posted: Sun Jul 28, 2013 1:26 pm
by barijaona
Thanks to all of you.