mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
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
This commit is contained in:
parent
e5985566ce
commit
9e9944b76d
@ -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 |
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user