mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-01 13:13:22 +08:00
Merge pull request #2693 from aignatov-bio/ai-sci-4539-add-special-characters-to-smart-annotation
Add special characters to smart annotation [SCI-4539]
This commit is contained in:
commit
876cfada9a
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ var SmartAnnotation = (function() {
|
|||
}
|
||||
_a = decodeURI("%C3%80");
|
||||
_y = decodeURI("%C3%BF");
|
||||
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_\\s\+\-\]*)$|" + flag + "([^\\x00-\\xff]*)$", 'gi');
|
||||
regexp = new RegExp(flag + "([A-Za-z" + _a + "-" + _y + "0-9_/:\\s\+\-\]*)$|" + flag + "([^\\x00-\\xff]*)$", 'gi');
|
||||
match = regexp.exec(subtext);
|
||||
if (match) {
|
||||
return match[2] || match[1];
|
||||
|
|
Loading…
Reference in a new issue