Render subscripts in the Content Editor

What does this MR do?

This MR adds support to render GFM subscripts in the Content Editor.

Useful references

The Content Editor uses libraries that are not common usage across GitLab. It is useful to read these guides to understand the code included in this MR

Screenshots or Screencasts (strongly suggested)

TODO...

How to setup and validate locally (strongly suggested)

  1. Edit a Wiki page in your local environment.
  2. Choose the Content Editor in the alert box that appears above the Classic editor.
  3. Type H<sub>2</sub>O
  4. The Content Editor will convert the text into a subscript.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #332075 (closed)

Merge request reports

Loading