mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 15:48:54 +02:00
docs: Fix g_strescape rendering escape sequences
In the gi-docgen Markdown flavour, \' will just prevent the apostrophe from turning into a curly single quote.
This commit is contained in:
@@ -2188,11 +2188,11 @@ out:
|
|||||||
* @source: a string to escape
|
* @source: a string to escape
|
||||||
* @exceptions: (nullable): a string of characters not to escape in @source
|
* @exceptions: (nullable): a string of characters not to escape in @source
|
||||||
*
|
*
|
||||||
* Escapes the special characters '\b', '\f', '\n', '\r', '\t', '\v', '\'
|
* Escapes the special characters `\b`, `\f`, `\n`, `\r`, `\t`, `\v`, `\`
|
||||||
* and '"' in the string @source by inserting a '\' before
|
* and `"` in the string @source by inserting a `\` before
|
||||||
* them. Additionally all characters in the range 0x01-0x1F (everything
|
* them. Additionally all characters in the range 0x01-0x1F (everything
|
||||||
* below SPACE) and in the range 0x7F-0xFF (all non-ASCII chars) are
|
* below SPACE) and in the range 0x7F-0xFF (all non-ASCII chars) are
|
||||||
* replaced with a '\' followed by their octal representation.
|
* replaced with a `\` followed by their octal representation.
|
||||||
* Characters supplied in @exceptions are not escaped.
|
* Characters supplied in @exceptions are not escaped.
|
||||||
*
|
*
|
||||||
* [func@GLib.strcompress] does the reverse conversion.
|
* [func@GLib.strcompress] does the reverse conversion.
|
||||||
|
Reference in New Issue
Block a user