summaryrefslogtreecommitdiff
path: root/gdata/gd
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2010-09-30 19:09:55 +0100
committerPhilip Withnall <philip@tecnocode.co.uk>2010-09-30 19:18:28 +0100
commitc17b1478b6b798025f55bb8703c82588cce56a58 (patch)
tree28c9fa5535c78baa383ecf77d1c6722aaaa04917 /gdata/gd
parent5b3ff1ead3f14cfd9e8cbfcacc617461e3115f4a (diff)
downloadlibgdata-c17b1478b6b798025f55bb8703c82588cce56a58.tar.gz
gd: Fix attribute escaping for GDataGDWhen
Diffstat (limited to 'gdata/gd')
-rw-r--r--gdata/gd/gdata-gd-when.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/gd/gdata-gd-when.c b/gdata/gd/gdata-gd-when.c
index 99fd2f55..48832bb5 100644
--- a/gdata/gd/gdata-gd-when.c
+++ b/gdata/gd/gdata-gd-when.c
@@ -365,7 +365,7 @@ pre_get_xml (GDataParsable *parsable, GString *xml_string)
}
if (priv->value_string != NULL)
- g_string_append_printf (xml_string, " valueString='%s'", priv->value_string);
+ gdata_parser_string_append_escaped (xml_string, " valueString='", priv->value_string, "'");
}
static void