Markdown collapsible block doesn't render inline code

Summary

Markdown parser in GitLab projects and issue doesn't render inline code when used in a collapsible block.

Steps to reproduce

Add a markdown file in a GitLab project with the following contents:

# markdown-test

<details>
<summary> `should be inline code` </summary>

contents

</details> 

Example Project

https://gitlab.com/jdasmarinas/markdown-test/-/blob/master/README.md

What is the current bug behavior?

`should be inline code` is rendered.

What is the expected correct behavior?

should be inline code is rendered instead.

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

Customer information

Edited by Julian Paul Dasmarinas