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 punctuation character is separated from the flagged word after rendering. #77

Open
elsayeaa opened this issue Jul 16, 2020 · 2 comments

Comments

@elsayeaa
Copy link

Description
Flagged words with punctuation characters in them are not rendered properly. After rendering issues, they get separated by a space.
To repeat this behavior

  1. Write a flagged word in the textarea element with a punctuation character. For example, willing,
  2. Submit the word(s).
  3. Check how the punctuation character is separated from the flagged word willing

Expected behavior
Words with punctuation characters should stay the same.

Screenshoots

  1. Writing the word with a punctuation character.

Screen Shot 2020-07-16 at 11 49 22 AM

  1. After submitting the word is separated from the punctuation character.

Screen Shot 2020-07-16 at 11 51 16 AM

@ProfJanetDavis
Copy link
Contributor

@j6k4m8 we weren't entirely sure if this is a back-end issue or a front-end issue. Can you provide any insight? Thanks!

@j6k4m8
Copy link
Member

j6k4m8 commented Jul 16, 2020

This is a frontend issue — <span>s are created around the element which probably leads to a spacing issue that CSS white-space: ??????something?????? can fix

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

3 participants