Skip to content

Commit 85ed45b

Browse files
committed
Update
1 parent 4e73a0e commit 85ed45b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/apon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
return true;
204204
}
205205
// Quote for special characters, keywords, and numeric-like strings.
206-
if (/[:#"'\[\]]/.test(str)) {
206+
if (/[:#"'\\\[\]]/.test(str)) {
207207
return true;
208208
}
209209
if (str === 'null' || str === 'true' || str === 'false') {

0 commit comments

Comments
 (0)