We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95d2821 commit 43ab3e3Copy full SHA for 43ab3e3
src/utils.js
@@ -63,7 +63,7 @@ export function stringify_string(str) {
63
result += '\\"';
64
} else if (char in escaped) {
65
result += escaped[char];
66
- } else if (code >= 0x0000 && code <= 0x001F) {
+ } else if (code <= 0x001F) {
67
result += `\\u${code.toString(16).toUpperCase().padStart(4, "0")}`
68
} else if (code >= 0xd800 && code <= 0xdfff) {
69
const next = str.charCodeAt(i + 1);
0 commit comments