Bug: HTML snippet with spans is rendered vastly different in React than in plain HTML #21543
Labels
Resolution: Expected Behavior
Status: Unconfirmed
A potential issue that we haven't yet confirmed as a bug
A list of span elements in combination with Tailwind.css styles (any version, CDN / NPM / etc) is rendered very differently in plain HTML vs. React.js code.
Links to code examples:
The current behavior
There are no spaces, the word-wrapping is broken and selecting + copying text results in mangeled text in the clipboard.
The expected behavior
It should behave similarly to the plain HTML version: have spaces, render without strange word-wraps and be properly selectable.
Screenshot:

The text was updated successfully, but these errors were encountered: