Only render GFM when the element exists
What does this MR do and why?
renderGFM
can get called with an undefined
element
.
To fix the resulting errors, we return early when the element is not
defined.
Screenshots or screen recordings
Work Item page | Issue Page |
---|---|
![]() |
![]() |
How to set up and validate locally
Work Items
- Open your browser console
- Go to the page of an issue
- Add a task without a description
- See the error
Issues
- Open your browser console
- Create a new issue with an empty description
- See the error in the console
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 Nicolas Dular