Fix silent crash when libxml produced error. See RSXML commit #401f470ab00ab656843162e002e111331b001824

This commit is contained in:
relikd
2019-03-06 02:37:54 +01:00
parent b7df436a5d
commit 1071c55eef
3 changed files with 3 additions and 2 deletions

View File

@@ -229,6 +229,7 @@ static BOOL _nextUpdateIsForced = NO;
}
if (!error) { // metaBlock may set error
RSFeedParser *parser = [RSFeedParser parserWithXMLData:xml];
parser.dontStopOnLowerAsciiBytes = YES;
result = [parser parseSync:&error];
}
}