Make sure escaped nodes work well with HTML
What does this MR do and why?
Make sure escaped nodes work well with HTML
In content editor, when serializing an HTML node, if the node contains any special characters that will be escaped, the node should be rendered as block instead of inline
Changelog: fixed
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
Screen_Recording_2023-06-10_at_00.52.06 | Screen_Recording_2023-06-10_at_00.51.08 |
How to set up and validate locally
- Open a wiki page.
- Switch to rich text editor.
- Create a 2x1 table (2 rows, 1 column).
- In the table header, enter
header*
- In the table cell, create a bullet list with 2 items.
- Switch to markdown and back to rich text.
- Notice that the header cell should say
header*
and notheader\*
.
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 #369109 (closed)
Edited by Himanshu Kapoor