Bug: Mermaid Diagrams are broken, rendered without Text

Summary

Mermaid Diagrams are not rendered correctly / being rendered as Blank.

Steps to reproduce

No special steps, happening in all the existing untouched Issues. Still, for the purpose of reference, PFB a sample Mermaid Code:

graph LR
  add_dashboard[Add Dashboard]-->add_chart[Add Chart];
  add_chart-->select_vis[Select Visualisation];
  add_chart-->select_module[Select Module];
  select_module-->module_events[Events Module];
  select_module-->module_monitor[Monitor Module];
  select_vis-->vis_graph[Bar Graph];
  select_vis-->vis_pie[Pie Chart];
  select_vis-->vis_table[Data Table];
  module_events-->module_events_input[Input Selector];
  module_monitor-->module_monitor_input[Input Selector];
  vis_graph-->vis_graph_config[Config Loader];
  vis_pie-->vis_pie_config[Config Loader];
  vis_table-->vis_table_config[Config Loader];

Example Project

Happening in all existing Issues created with Mermaid Graphs.

What is the current bug behavior?

Diagram is rendered, but Boxes doesn't contain any Text.

What is the expected correct behavior?

It should be rendered correctly with Labels in the boxes.

Relevant logs and/or screenshots

GitLab_Mermaid_Issue

GitLab_Mermaid_Issue_2

Output of checks

This bug happens on GitLab.com

  • Checked on Mozilla Firefox 130.0.1 (64-bit) (Ubuntu 22.04.4)
  • Checked on Google Chrome 127.0.6533.119 (64-bit) (Ubuntu 22.04.4)

Possible fixes

Not Known

Edited by 🤖 GitLab Bot 🤖