Commit 0c168af
authored
### Description
* custom mode (with british english enabled) could break with some words
that matched an inherited JS object property, causing crashes
* made the replacement logic now ignores prototype property names on the
rules object, added a small test for it.
Closes #7316
1 parent a4b6671 commit 0c168af
File tree
2 files changed
+8
-0
lines changed- frontend
- __tests__/test
- src/ts/test
2 files changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
66 | 71 | | |
67 | 72 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
703 | 706 | | |
704 | 707 | | |
705 | 708 | | |
| |||
0 commit comments