gender-bias / gender-bias

Reading for gender bias

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The punctuation character is separated from the flagged word after rendering.

elsayeaa opened this issue · comments

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

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

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