StackExchange / StackExchange/Stacks-Editor
Line breaks inside table cells not being kept going from RT to MD
Open
Nobody has claimed this yet.
bug
html
mode - rich text
- Dominant language
- TypeScript
- Stars
- 437
- Forks
- 61
- Avg merge
- 16h 2m
- Merged PRs (30d)
- 8
Description
https://meta.stackexchange.com/a/360648/395497

<br> included in table cell markup. Switch to RT, the newline shows up. Switch back to MD the <br> is missing
Was originally on #32, breaking out into its own issue now
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
Reproduce the issue by placing a
in a table cell, switching from Markdown to Rich Text and back, and checking whether the line break remains. Trace the Rich Text-to-Markdown conversion path; done means the table cell retains the line break when returning to Markdown.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100