[mermaid] Parse error in search results
If you search for something on GitLab, a preview is shown for each result. GitLab tries to render mermaid charts in these previews even if it does not contain the complete chart. Therefore an ugly error message is shown that the mermaid module was unable to parse the chart.
STR:
- Create an issue that starts with a mermaid chart within the first 200 characters or so, but make sure that the end of the chart is not in this range
- Search for that issue
Can't load mermaid module: Error: Parse error on line...
Live example: https://gitlab.com/search?project_id=13083&scope=merge_requests&search=%60%60%60mermaid