diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2010-12-02 12:20:40 +0000 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2010-12-02 12:20:40 +0000 |
commit | 91c1bc17304dcde4356652ac2ed2552961e34d36 (patch) | |
tree | fa6205e1bdbf3c9296dd3a83226d57cddf73d35f /gdata/gcontact | |
parent | 807ae95cb8d2baac80002c4bb79118f9de2b1e1f (diff) | |
download | libgdata-91c1bc17304dcde4356652ac2ed2552961e34d36.tar.gz |
gcontact: Fix attribute escaping for GDataGContactRelation
Helps: bgo#631033
Diffstat (limited to 'gdata/gcontact')
-rw-r--r-- | gdata/gcontact/gdata-gcontact-relation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/gcontact/gdata-gcontact-relation.c b/gdata/gcontact/gdata-gcontact-relation.c index 19ac993b..2cfcac5d 100644 --- a/gdata/gcontact/gdata-gcontact-relation.c +++ b/gdata/gcontact/gdata-gcontact-relation.c @@ -243,7 +243,7 @@ pre_get_xml (GDataParsable *parsable, GString *xml_string) GDataGContactRelationPrivate *priv = GDATA_GCONTACT_RELATION (parsable)->priv; if (priv->relation_type != NULL) - g_string_append_printf (xml_string, " rel='%s'", priv->relation_type); + gdata_parser_string_append_escaped (xml_string, " rel='", priv->relation_type, "'"); else if (priv->label != NULL) gdata_parser_string_append_escaped (xml_string, " label='", priv->label, "'"); else |