Why does Chrome randomly inject the ZeroWidthSpace characters into SharePoint rich text fields and IE does not?

Joe Haney 1 Reputation point
2021-08-10T23:25:20.427+00:00

When editing rich text fields using the 2016 SharePoint UI, Chrome randomly injects invisible #8203; characters into the field although when making the same identical edits with IE, the invisible characters are not injected.
What causes this behavior and how do we avoid it when using Chrome?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,927 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. CaseyYang-MSFT 10,451 Reputation points
    2021-08-11T09:17:15.423+00:00

    Hi @Joe Haney ,

    Per my research, this character is intended for line break control; it has no width, but its presence between two characters does not prevent increased letter spacing in justification. Here is a workaround to avoid this issue. Paste the code into Brackets, the zero-width spaces are shown up as red dots. Just remove the red dots and check.

    For Reference:
    https://stackoverflow.com/questions/18478847/why-is-8203-being-injected-into-my-html
    https://www.mazzitorch.com/what-is-8203-why-is-being-injected-into-my-html/
    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.