Fix serialization of tables in Content Editor
requested to merge 354795-fix-content-editor-stripping-new-lines-between-list-and-tables into master
What does this MR do and why?
It fixes a bug where the Content Editor is stripping blank lines between unordered lists and tables. This results in improperly formatted Markdown and the table doesn't render.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Create a wiki page with the following code in raw markdown:
-
- 1 - 2 - 3 | header | header | header | | ------ | ------ | ------ | | cell | cell | cell |
-
- Edit that page in the Content Editor by clicking the
Edit rich text
segmented control above the editor. - Modify the list or the table.
- Save the page in the Content Editor.
- Switch back to the Source mode using the segmented control above.
- There should be a blank line between the bullet list and the table below.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #354795 (closed)
Edited by Enrique Alcántara