summaryrefslogtreecommitdiff
path: root/gdata/gd
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-09-30 18:59:10 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2010-09-30 19:18:28 +0100
commita0e97a3a386edca2c7da4137b0a0067066659520 (patch)
treedc129ba05a0954a9a3385e15383c07df09fa67e8 /gdata/gd
parent019f4c0c2be2d3ca486a9832d4121271e5ca6b5c (diff)
downloadlibgdata-a0e97a3a386edca2c7da4137b0a0067066659520.tar.gz
gd: Fix attribute escaping for GDataGDPostalAddress
Diffstat (limited to 'gdata/gd')
-rw-r--r--gdata/gd/gdata-gd-postal-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/gd/gdata-gd-postal-address.c b/gdata/gd/gdata-gd-postal-address.c
index 42004c87..d8f22f50 100644
--- a/gdata/gd/gdata-gd-postal-address.c
+++ b/gdata/gd/gdata-gd-postal-address.c
@@ -618,7 +618,7 @@ pre_get_xml (GDataParsable *parsable, GString *xml_string)
GDataGDPostalAddressPrivate *priv = GDATA_GD_POSTAL_ADDRESS (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, "'");
if (priv->label != NULL)
gdata_parser_string_append_escaped (xml_string, " label='", priv->label, "'");
if (priv->mail_class != NULL)