ONLYOFFICE / onlyoffice.github.io

ONLYOFFICE plugins. Code, resources, and styling for the Plugin Marketplace and Plugins Manager.
Apache License 2.0
129 stars 381 forks source link

Russian language. Comma in such case -> "Проблема , с запятой" would be corrected, but in strange way. #144

Closed amokmen closed 2 years ago

amokmen commented 3 years ago

Just installed plugin at "ONLYOFFICE Desktop Editors версия 6.1.0.90"

Result after correction:

Проблема<span class="typograf-oa-comma">,</span><span class="typograf-oa-comma-sp"> </span>с запятой
Rita-Bubnova commented 3 years ago

Hello, @amokmen. Could you describe the steps to reproduce the problem?

amokmen commented 3 years ago
  1. Open new document file in desktop editor.
  2. Install plugin.
  3. In plugin's options choose 'Russian' locale.
  4. Check 'Punctuation' checkbox & 'Hanging punctuation' & 'Space and line ending' & all sub-checkboxes active also.
  5. Paste my line.
  6. Mark my line.
  7. Press 'Correct text'

Also interesting, that if check only 'Hanging punctuation' - this hanging comma would not be corrected at all!

Rita-Bubnova commented 3 years ago

Which line do you paste in step 5? And which result do you want?

amokmen commented 3 years ago

I pasted line from heading ^^: "Проблема , с запятой" I wanted this: "Проблема, с запятой"

Rita-Bubnova commented 3 years ago

I can confirm - this is bug, issue 48936 in our private issue tracker.

Rita-Bubnova commented 2 years ago

Now we aren't able to fully resolve this issue because the document editor does not support "Hanging punctuation".

catbasilio commented 2 years ago

Fixed