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

The character counter counts the new line as two characters #3132

Open
gendzo opened this issue Jan 25, 2023 · 0 comments
Open

The character counter counts the new line as two characters #3132

gendzo opened this issue Jan 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@gendzo
Copy link

gendzo commented Jan 25, 2023

You need to know the exact number of characters, especially if you are writing a post on social networks, where the number of characters is limited.

Expected

The newline "\n" (CR) should only count as one character.

Observed

When I write note "a\nb\nc" I expect that character counter under the "Info" shows me 5 characters.
a
b
c
But the result is 7.

Reproduced

  1. Write a short message
  2. Click on Info icon
  3. Count characters manually and compare

Where did you see the bug

  • OS: Windows 10
  • Browser: EDGE
@gendzo gendzo added the bug Something isn't working label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant