Skip to content
Snippets Groups Projects

Allow writing text in angle brackets

Merged Himanshu Kapoor requested to merge 336543-prose-looks-like-code into master

What does this MR do and why?

Allow writing text in angle brackets

In content editor, allow writing prose that looks like code. So, typing should work fine by escaping the < and > in the text by adding backslashes.

Changelog: changed

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_01.05.29 Screen_Recording_2023-06-10_at_01.05.09

How to set up and validate locally

  1. Edit a wiki page
  2. Switch to rich text editor.
  3. Enter some content in angle brackets like <this>.
  4. Switch to markdown and back to rich text.
  5. Notice that <this> is retained because it was escaped with backslashes. Previously it would disappear.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #336543 (closed)

Edited by Himanshu Kapoor

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Himanshu Kapoor
  • Himanshu Kapoor changed the description

    changed the description

  • Himanshu Kapoor added 1 commit

    added 1 commit

    • 79a32c75 - Allow writing text in angle brackets

    Compare with previous version

  • Author Maintainer

    @kushalpandya Mind reviewing this one as well as it is related somewhat to !123216 (merged)? Thanks

    Edited by Himanshu Kapoor
  • requested review from @kushalpandya

  • Please register or sign in to reply
    Loading