Table text wrap is not working when "<br>" used for line breaks
Open
Nobody has claimed this yet.
bug
P3
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Some of texts that I am showing in a table might have line breaks entered at a time a text was created. In order to break that text in a table I am replacing \r or \n characters with
<br>
I do get new lines properly but text auto wrapping is not working anymore. See the provided example:
https://codepen.io/michaelbabyn/pen/VREaKa
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the provided CodePen example and tracing the table text rendering path. Done means table text containing
line breaks still wraps automatically as expected, without breaking the existing line-break behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100