Skip to content

Commit 3ac79a3

Browse files
committed
Also ignore brackets
1 parent a859a71 commit 3ac79a3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/util.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ import yellow from "@material-ui/core/colors/yellow";
3030
import animals from "./utils/animals.json";
3131

3232
const invisibleChars = new Set([
33+
0x0028, // (
34+
0x0029, // )
35+
0x003c, // <
36+
0x003e, // >
37+
0x005b, // [
38+
0x005d, // ]
39+
0x007b, // {
40+
0x007d, // }
3341
0x00a0, // No-break space
3442
0x00ad, // Soft hyphen
3543
0x034f, // Combining grapheme joiner

0 commit comments

Comments
 (0)