File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,8 @@ class RssFeed {
53
53
throw new ArgumentError ("channel not found" );
54
54
}
55
55
var title = xmlGetString (channelElement, "title" );
56
- var description = xmlGetString (channelElement, "description" );
57
- var link = xmlGetString (channelElement, "link" );
56
+ var description = xmlGetString (channelElement, "description" , strict : false );
57
+ var link = xmlGetString (channelElement, "link" , strict : false );
58
58
59
59
var feeds = channelElement.findElements ("item" ).map ((element) {
60
60
return new RssItem .parse (element);
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ class RssItem {
32
32
33
33
factory RssItem .parse (XmlElement element) {
34
34
var title = xmlGetString (element, "title" );
35
- var description = xmlGetString (element, "description" );
36
- var link = xmlGetString (element, "link" );
35
+ var description = xmlGetString (element, "description" , strict : false );
36
+ var link = xmlGetString (element, "link" , strict : false );
37
37
38
38
var categories = element.findElements ("category" ).map ((element) {
39
39
return new RssCategory .parse (element);
You can’t perform that action at this time.
0 commit comments