StackExchange / StackExchange/Stacks-Editor

Line breaks inside table cells not being kept going from RT to MD

Open
#151 0 comments 0 reactions 0 assignees View on GitHub

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

image

<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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.