-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
I'm writing my screenplay in Armenian, and noticed an issue with the Locations Tree.
Only the first location is displayed on the tree, while the others are ignored.

After doing a little bit of debugging, I figured out, the the issue is in the slugify method.
Line 52 in ad9e3dd
.replace(/[^\w-]+/g, '') // Remove all non-word chars |
The regex used for formatting removes all non-word characters. Unfortunately, the regex is matching only the characters in the range of [a-zA-Z0-9_] and word characters from non-english languages do not fall into this range.
I'm thinking of 3 different possible solutions:
- Change the regex to a more inclusive one.
- Providing an API to disable this line.
- Remove this particular formatting :)
Thanks a lot in advance and thank you for a developing of such a great extension
Metadata
Metadata
Assignees
Labels
No labels