Cyrillic 'b' treated as 'enter' in keywords

Hi,

I observed a strange thing in OJS 3.1.0. When entering keywords on the submission metadata page, entering cyrillic letter ‘b’ (unicode 0431) is treated as ‘enter’, i.e., it starts a new item in the keywords list. Therefore, I cannot enter any keyword containing this letter. Any other letter is entered properly.

Is there a way to avoid this, e.g., switch off the ‘enter’ key starting a new item?

Thanks,
Vasyl

1 Like

Hi @Vasyl_Ostrovskyi,

This is a known issue with the third-party “tag-it” library – see Tag it plugin doesn't work with cyrillic 'б' letter · Issue #251 · aehlke/tag-it · GitHub for details.

Regards,
Alec Smecher
Public Knowledge Project Team

As I can see, this issue never was fixed. Mostly, because of moving to the new library:

I’d support the topic starter. The issue is still really annoying.

Theoretically, removing this line should work:

But practically, I don’t see any effect. Also, I don’t see the link to tag-it js file on article’s metadata page. So can’t check javascript from the browser.
@asmecher, maybe you can explain why?

Wow, I found a very UGLY solution without patching any code.

  1. Press CapsLock
  2. Press shift+‘б’
    It works!!!

See Resolve TagIt's keyword separator character interference (Arabic/Cyrillic) · Issue #4208 · pkp/pkp-lib · GitHub for a git entry to consider replacements for tag-it.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like