From: Ryan Lortie Date: Fri, 8 Aug 2008 16:53:26 +0000 (+0000) Subject: Bug 546876 -- also update documentation for escape_text X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=8b6a4e9439c2dffe97dd3c56f63841baf74d53dc;p=dana%2Fcg-glib.git Bug 546876 -- also update documentation for escape_text svn path=/trunk/; revision=7327 --- diff --git a/glib/gmarkup.c b/glib/gmarkup.c index cfea0256..3e073f8e 100644 --- a/glib/gmarkup.c +++ b/glib/gmarkup.c @@ -2289,6 +2289,13 @@ append_escaped_text (GString *str, * Note that this function doesn't protect whitespace and line endings * from being processed according to the XML rules for normalization * of line endings and attribute values. + * + * Note also that if given a string containing them, this function + * will produce character references in the range of  .. + *  for all control sequences except for tabstop, newline + * and carriage return. The character references in this range are + * not valid XML 1.0, but they are valid XML 1.1 and will be accepted + * by the GMarkup parser. * * Return value: a newly allocated string with the escaped text **/