mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-22 03:14:40 +03:00
Fix mentions to handle non-latin names during import (#7078)
Signed-off-by: Anna Khismatullina <anna.khismatullina@gmail.com>
This commit is contained in:
parent
7710ff8fa1
commit
c10b0a694a
@ -62,7 +62,7 @@ interface ImportIssueEx extends ImportIssue {
|
||||
}
|
||||
|
||||
class ClickupMarkdownPreprocessor implements MarkdownPreprocessor {
|
||||
private readonly MENTION_REGEX = /@([A-Za-z]+ [A-Za-z]+)/g
|
||||
private readonly MENTION_REGEX = /@([\p{L}\p{M}]+ [\p{L}\p{M}]+)/gu
|
||||
constructor (private readonly personsByName: Map<string, Ref<Person>>) {}
|
||||
|
||||
process (json: MarkupNode): MarkupNode {
|
||||
|
Loading…
Reference in New Issue
Block a user