Permalink
Browse files

Item titles may contain newlines or carriage returns.

  • Loading branch information...
1 parent a948ab6 commit 5a0661e7377aab18aaac47b0ad5ef7c6d9536ad5 @barijaona barijaona committed Apr 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 RichXMLParser.m
View
@@ -675,7 +675,7 @@ -(BOOL)initRSSFeedItems:(XMLParser *)feedTree
if ([itemNodeName isEqualToString:@"title"])
{
NSString * newTitle = [[subItemTree valueOfElement] stringByUnescapingExtendedCharacters];
- [newItem setTitle:[[self stripHTMLTags:newTitle] firstNonBlankLine]];
+ [newItem setTitle:[self stripHTMLTags:newTitle]];
continue;
}
@@ -928,7 +928,7 @@ -(BOOL)initAtomFeed:(XMLParser *)feedTree
if ([titleType isEqualToString:@"html"] || [titleType isEqualToString:@"xhtml"])
newTitle = [self stripHTMLTags:newTitle];
- [newItem setTitle:[newTitle firstNonBlankLine]];
+ [newItem setTitle:newTitle];
continue;
}

0 comments on commit 5a0661e

Please sign in to comment.