Correct the jsonstringify documentation (#4344)

The jsonstringify substitution table does not list all substitutions, and it listed `'` as being replaced when it's not.  This updates the table based on the code at https://github.com/Jermolene/TiddlyWiki5/blob/master/core/modules/utils/utils.js#L537
single-tiddler-mode^2
Matt Lauber 2019-10-24 05:02:20 -04:00 zatwierdzone przez Jeremy Ruston
rodzic e5985566ce
commit 9e9944b76d
1 zmienionych plików z 4 dodań i 2 usunięć

Wyświetl plik

@ -15,10 +15,12 @@ The following substitutions are made:
|!Character |!Replacement |
|`\` |`\\` |
|`"` |`\\` |
|`'` |`\\` |
|`"` |`\\"` |
|`\r` (carriage return) |`\\r` |
|`\n` (line feed) |`\\n` |
|`\x08` (backpsace) |`\\b` |
|`\x0c` (formfield) |`\\f` |
|`\t` (tab) |`\\t` |
|Characters from 0x00 to 0x1f |`\\x##` where ## is two hex digits |
|Characters from 0x80 to 0xffff |`\\u####` where #### is four hex digits |