Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions Pod/Classes/GDataXMLNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
@class GDataXMLElement, GDataXMLDocument;


static const int kGDataXMLParseOptions = (XML_PARSE_NOCDATA | XML_PARSE_NOBLANKS);
static const int kGDataXMLParseOptions = (XML_PARSE_NOCDATA | XML_PARSE_NOBLANKS | XML_PARSE_HUGE);
static const int kGDataHTMLParseOptions = (HTML_PARSE_NOWARNING | HTML_PARSE_NOERROR);

// dictionary key callbacks for string cache
Expand Down Expand Up @@ -479,8 +479,7 @@ - (void)setStringValue:(NSString *)str {

// attribute or element node

// do we need to call xmlEncodeSpecialChars?
xmlNodeSetContent(xmlNode_, GDataGetXMLString(str));
xmlNodeSetContent(xmlNode_, xmlEncodeSpecialChars(NULL, GDataGetXMLString(str)));
}
}
}
Expand Down