Fix inline code serialization in rich text editor
What does this MR do and why?
Fix inline code serialization in rich text editor
When an inline code block in rich text editor contains backticks, it breaks on serialization. Now such inline code blocks will be serialized using double backticks.
Changelog: fixed
Screenshots and steps
- Type in rich text editor: ```js
- Do not press Enter, else it will create a code block.
- Select all.
- Click "Insert code" button in the toolbar.
- Save.
Before | After | |
---|---|---|
Contents of comment after save |
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.
Edited by Himanshu Kapoor