Skip to content

Render GFM content on Vulnerability Page

Dheeraj Joshi requested to merge djadmin-render-gfm-vulnerability-page into master

Related issue: #371037 (closed)

What does this MR do and why?

This fixes the issue where mermaid diagrams are not being rendered in vulnerability pages, specifically for description and solutions field.

Screenshots or screen recordings

Before After
image image

How to set up and validate locally

  1. Create a new vulnerability with description & solution field with the following value
```mermaid
graph TD;
  A-->B;
  A-->C;
  B-->D;
  C-->D;
  1. It should now render the mermaid diagrams correctly

MR acceptance checklist

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

Edited by Dheeraj Joshi

Merge request reports