markdown language-specific code highlighting breaks when in ordered/unordered list
Summary
Markdown language-specific code highlighting works only if out of the list, otherwise it breaks.
Steps to reproduce
Enter the following snippet in any GitLab markdown-parsed place:
1. execute ```sh sudo python3 setup.py install ``` from the temp directory; 1. delete the temp directory.
What is the current bug behavior?
The language-specific code block is not rendered correctly:
- execute
from the temp directory;sudo python3 setup.py install
- delete the temp directory.
What is the expected correct behavior?
- execute
sudo python3 setup.py install
from the temp directory;
- delete the temp directory.
Relevant logs and/or screenshots
You cat see it right here in the issue body.
Output of checks
This bug happens on GitLab.com
Possible workaround
Enter an empty line before the second list item.