Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All spaces converted to   in quill-editor #4535

Open
byvernault opened this issue Dec 17, 2024 · 3 comments
Open

All spaces converted to   in quill-editor #4535

byvernault opened this issue Dec 17, 2024 · 3 comments

Comments

@byvernault
Copy link

byvernault commented Dec 17, 2024

We are using quill-editor in our application to create a resume. Since all spaces are converted to   (non breaking space), the printable version created by LateX is broken (line doesn't break at the right space).

Reverting to 2.0.2 works.

Steps for Reproduction

  1. Use quill-editor in an application (angular) with the version 2.0.3
  2. Enter a string with spaces
  3. Verify the value of the input (all spaces are converted to  )

Expected behavior:

Input: This is a test
Output: This is a test

Actual behavior:

Input: This is a test
Output: This&nbps;is&nbps;a&nbps;test

Platforms:

Angular application running on latest browser (tried safari, chrome, chromium, firefox)

Version:

The issue is located in this commit : 07b68c9 where you can see line 374 :

return escapedText.replaceAll(' ', ' ');

@Sergiobop
Copy link

Duplicated of #4509

@trymeouteh
Copy link

Would like to see this fixed as well

@helen-andronova
Copy link

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants