Mermaid Diagram not rendering arrow heads

Steps to reproduce

  1. Add the following mermaid chart to a note:
```mermaid
flowchart
	step1[Some Step Here]
	step2[Another Step Here]

	step1 --> step2
```
  1. Toggle between reading mode and editing mode until the arrow heads disappear. You may also need to go into and out editing the block with live preview. It will periodically no longer render the directional arrow heads between steps.

Expected result

It always renders the arrow heads.

Screenshot from 2021-12-28 08-47-45

Actual result

Sometimes it will not render the arrow heads.

Screenshot from 2021-12-28 08-47-37

Environment

  • Operating system: Pop! OS (Linux)
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.13.14
	Installer version: v0.13.14
	Login status: logged in
	Catalyst license: none
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Safe mode: off
	Plugins installed: 0
	Plugins enabled: 0

RECOMMENDATIONS:
	none

Please, search before posting.

A post was merged into an existing topic: Mermaid: arrows not showing