diff options
author | Kris Maglione <maglione.k@gmail.com> | 2010-10-12 17:34:39 -0400 |
---|---|---|
committer | Kris Maglione <maglione.k@gmail.com> | 2010-10-12 17:34:39 -0400 |
commit | 8628551c5af47cde5b9addbcd2498602f57ad882 (patch) | |
tree | f5b4acdfab9ce55834defd3b079877981f421592 /common/locale/en-US/cmdline.xml | |
parent | e96c94649911998f09ba5618fb799603091cd936 (diff) | |
download | pentadactyl-8628551c5af47cde5b9addbcd2498602f57ad882.tar.gz |
Fix parsing of invalid JSON strings in arguments, and serialization of strings containing tabs and newlines. Closes issue #72.
Diffstat (limited to 'common/locale/en-US/cmdline.xml')
-rw-r--r-- | common/locale/en-US/cmdline.xml | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/locale/en-US/cmdline.xml b/common/locale/en-US/cmdline.xml index 019fd28f..099368d8 100644 --- a/common/locale/en-US/cmdline.xml +++ b/common/locale/en-US/cmdline.xml @@ -259,13 +259,11 @@ Any character inside of double quotes except for <em>"</em> and <em>\</em> is interpreted literally. A literal double quote may be included by preceding it with a backslash. Any other occurrence of a - backslash starts an escape sequence as in JavaScript strings. Among - the available escape sequences are: + backslash starts an escape sequence as in JSON strings. + Among the available escape sequences are: <dl dt="width: 8em;"> <dt>\n</dt> <dd>A newline character.</dd> <dt>\t</dt> <dd>A tab character.</dd> - <dt>\0nn</dt> <dd>Where each <em>n</em> is a digit between 0 and 7, represents an octal character code.</dd> - <dt>\xdd</dt> <dd>Where each <em>d</em> is a digit between 0 and F, represents a hexidecimal character code.</dd> <dt>\uxxxx</dt> <dd>Where each <em>x</em> is a digit between 0 and F, a Unicode character at code-point <em>xxxx</em>.</dd> </dl> </dd> |