Render GFM content on Vulnerability Page
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 |
---|---|
How to set up and validate locally
- Create a new vulnerability with description & solution field with the following value
```mermaid
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;
- 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.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Dheeraj Joshi